Skip to content

Commit 22da90c

Browse files
committed
Use more CGUs in incremental compilation
1 parent 9649706 commit 22da90c

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
@@ -830,7 +830,7 @@ impl Session {
830830
// codegen units in order to reduce the "collateral damage" small
831831
// changes cause.
832832
if self.opts.incremental.is_some() {
833-
return CodegenUnits::Default(256);
833+
return CodegenUnits::Default(4096);
834834
}
835835

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

0 commit comments

Comments
 (0)