File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -186,8 +186,8 @@ possibly reducing compile time, but may produce slower code.
186
186
187
187
This option takes an integer greater than 0.
188
188
189
- This option is ignored if [ incremental] ( #incremental ) is enabled, in which
190
- case ` rustc ` uses an internal heuristic to split the crate .
189
+ The default is 256 for [ incremental] ( #incremental ) builds, and 16 for
190
+ non-incremental builds .
191
191
192
192
[ `-C codegen-units` flag ] : ../../rustc/codegen-options/index.html#codegen-units
193
193
@@ -217,7 +217,7 @@ overflow-checks = true
217
217
lto = false
218
218
panic = ' unwind'
219
219
incremental = true
220
- codegen-units = 16 # Note: ignored because `incremental` is enabled.
220
+ codegen-units = 256
221
221
rpath = false
222
222
```
223
223
@@ -258,7 +258,7 @@ overflow-checks = true
258
258
lto = false
259
259
panic = ' unwind' # This setting is always ignored.
260
260
incremental = true
261
- codegen-units = 16 # Note: ignored because `incremental` is enabled.
261
+ codegen-units = 256
262
262
rpath = false
263
263
```
264
264
You can’t perform that action at this time.
0 commit comments