Skip to content

Commit

Permalink
Avoid specific claims about debuginfo size
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Apr 14, 2018
1 parent cc2906c commit bc7403d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.toml.example
Expand Up @@ -263,7 +263,7 @@
#debuginfo-only-std = false

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

# Whether or not jemalloc is built and enabled
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Expand Up @@ -624,7 +624,7 @@ impl<'a> Builder<'a> {

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

0 comments on commit bc7403d

Please sign in to comment.