Skip to content

Commit cc1ef91

Browse files
committed
Use more CGUs in incremental compilation
1 parent 0f26ee4 commit cc1ef91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ impl Session {
841841
// codegen units in order to reduce the "collateral damage" small
842842
// changes cause.
843843
if self.opts.incremental.is_some() {
844-
return CodegenUnits::Default(256);
844+
return CodegenUnits::Default(4096);
845845
}
846846

847847
// Why is 16 codegen units the default all the time?

0 commit comments

Comments
 (0)