diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-08-30 22:35:12 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-08-30 22:35:12 -0400 |
| commit | d983873cff7467e457bb5b3904ae7c238ffc2d38 (patch) | |
| tree | 0407ba78752c0a7e8693eb7374bbe063349f40c4 | |
| parent | 3b4a346de72c3fa12b69dbcdc12116ba865ab50e (diff) | |
| download | rust-d983873cff7467e457bb5b3904ae7c238ffc2d38.tar.gz rust-d983873cff7467e457bb5b3904ae7c238ffc2d38.zip | |
Document the defaults for `codegen-units`
| -rw-r--r-- | config.toml.example | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example index 424ede9cd1b..dd322c75932 100644 --- a/config.toml.example +++ b/config.toml.example @@ -309,6 +309,9 @@ # 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 # Sets the number of codegen units to build the standard library with, |
