Skip to content

Commit bc7403d

Browse files
committed
Avoid specific claims about debuginfo size
1 parent cc2906c commit bc7403d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.toml.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
#debuginfo-only-std = false
264264

265265
# Enable debuginfo for the extended tools: cargo, rls, rustfmt
266-
# Adding debuginfo increases their sizes by a factor of 3-4.
266+
# Adding debuginfo makes them several times larger.
267267
#debuginfo-tools = false
268268

269269
# Whether or not jemalloc is built and enabled

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ impl<'a> Builder<'a> {
624624

625625
if mode == Mode::Tool {
626626
// Tools like cargo and rls don't get debuginfo by default right now, but this can be
627-
// enabled in the config. Adding debuginfo increases their sizes by a factor of 3-4.
627+
// enabled in the config. Adding debuginfo makes them several times larger.
628628
if self.config.rust_debuginfo_tools {
629629
cargo.env("RUSTC_DEBUGINFO", self.config.rust_debuginfo.to_string());
630630
cargo.env("RUSTC_DEBUGINFO_LINES", self.config.rust_debuginfo_lines.to_string());

0 commit comments

Comments
 (0)