Skip to content

Commit d983873

Browse files
committed
Document the defaults for codegen-units
1 parent 3b4a346 commit d983873

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config.toml.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +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+
#
313+
# Defaults: the Cargo defaults, 256 with incremental and 16 without
314+
# https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units
312315
#codegen-units = 1
313316

314317
# Sets the number of codegen units to build the standard library with,

0 commit comments

Comments
 (0)