about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-04-13 21:57:53 -0700
committerJosh Stone <jistone@redhat.com>2018-04-13 21:57:53 -0700
commitbc7403d067b3e2a154df1ef088377cb2a75f429c (patch)
tree772fe7ed24923f9fcfb5ac9daaa88b1a65262b7c
parentcc2906cb26304301709557a88ac4a3334b88616b (diff)
downloadrust-bc7403d067b3e2a154df1ef088377cb2a75f429c.tar.gz
rust-bc7403d067b3e2a154df1ef088377cb2a75f429c.zip
Avoid specific claims about debuginfo size
-rw-r--r--config.toml.example2
-rw-r--r--src/bootstrap/builder.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/config.toml.example b/config.toml.example
index bd18a604a9c..effe0084381 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -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
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index ae19c66d607..6874efa5a4c 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -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());