Skip to content

Commit b4b8a52

Browse files
authored
Rollup merge of rust-lang#76141 - jyn514:config.toml, r=Mark-Simulacrum
Address review comments about config.toml from rustc-dev-guide PR This info was lost in rust-lang#74334. See also rust-lang/rustc-dev-guide#795 (review). r? @Mark-Simulacrum or @eddyb
2 parents 5ea5551 + ba664c2 commit b4b8a52

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

config.toml.example

+4-2
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,9 @@
309309
# Number of codegen units to use for each compiler invocation. A value of 0
310310
# means "the number of cores on this machine", and 1+ is passed through to the
311311
# compiler.
312-
#codegen-units = 1
312+
#
313+
# Uses the rustc defaults: https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
314+
#codegen-units = if incremental { 256 } else { 16 }
313315

314316
# Sets the number of codegen units to build the standard library with,
315317
# regardless of what the codegen-unit setting for the rest of the compiler is.
@@ -392,7 +394,7 @@
392394
# desired in distributions, for example.
393395
#rpath = true
394396

395-
# Emits extra output from tests so test failures are debuggable just from logfiles.
397+
# Prints each test name as it is executed, to help debug issues in the test harness itself.
396398
#verbose-tests = false
397399

398400
# Flag indicating whether tests are compiled with optimizations (the -O flag).

0 commit comments

Comments
 (0)