Skip to content

Commit 98ead3e

Browse files
Update -Ccodegen-units docs wrt incr. comp. in rustc book.
1 parent 408e6e3 commit 98ead3e

File tree

1 file changed

+2
-3
lines changed
  • src/doc/rustc/src/codegen-options

1 file changed

+2
-3
lines changed

src/doc/rustc/src/codegen-options/index.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,8 @@ them in parallel. Increasing parallelism may speed up compile times, but may
257257
also produce slower code. Setting this to 1 may improve the performance of
258258
generated code, but may be slower to compile.
259259

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

264263
## remark
265264

0 commit comments

Comments
 (0)