Skip to content

Commit

Permalink
Update -Ccodegen-units docs wrt incr. comp. in rustc book.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Apr 1, 2020
1 parent 408e6e3 commit 98ead3e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/doc/rustc/src/codegen-options/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,8 @@ them in parallel. Increasing parallelism may speed up compile times, but may
also produce slower code. Setting this to 1 may improve the performance of
generated code, but may be slower to compile.

The default, if not specified, is 16. This flag is ignored if
[incremental](#incremental) is enabled, in which case an internal heuristic is
used to split the crate.
The default, if not specified, is 16 for non-incremental builds. For
incremental builds the default is 256 which allows caching to be more granular.

## remark

Expand Down

0 comments on commit 98ead3e

Please sign in to comment.