about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-08-31 00:37:50 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-08-31 00:37:50 -0400
commit9f268de644df40c0ea9b323c475772d0ec2dc5b4 (patch)
treeb012bbdae48fe9a8f30837ec6e92d651cc7900da /config.toml.example
parent41c13826f89665a4cf05c2e7ae470cb38fc699bc (diff)
downloadrust-9f268de644df40c0ea9b323c475772d0ec2dc5b4.tar.gz
rust-9f268de644df40c0ea9b323c475772d0ec2dc5b4.zip
Address review comments
- Use prettier syntax for codegen-units defaults
- Remove comment about parallelism that only made sense for specific
values of codegen-units
- Be more specific about what `verbose-tests` does
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example10
1 files changed, 3 insertions, 7 deletions
diff --git a/config.toml.example b/config.toml.example
index 2aba9445084..0956dd82ad9 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -306,16 +306,12 @@
 #
 #debug = false
 
-# This will make your build more parallel; it costs a bit of runtime
-# performance perhaps (less inlining) but it's worth it.
-#
 # Number of codegen units to use for each compiler invocation. A value of 0
 # means "the number of cores on this machine", and 1+ is passed through to the
 # compiler.
 #
-# Defaults: the Cargo defaults, 256 with incremental and 16 without
-# https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units
-#codegen-units = 1
+# Uses the Cargo defaults: https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units
+#codegen-units = if incremental { 256 } else { 16 }
 
 # Sets the number of codegen units to build the standard library with,
 # regardless of what the codegen-unit setting for the rest of the compiler is.
@@ -398,7 +394,7 @@
 # desired in distributions, for example.
 #rpath = true
 
-# Emits extra output from the tests to debug issues in the test harness itself.
+# Prints each test name as it is executed, to help debug issues in the test harness itself.
 #verbose-tests = false
 
 # Flag indicating whether tests are compiled with optimizations (the -O flag).