Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ff1120a

Browse files
committed
Auto merge of rust-lang#129222 - saethlin:more-incr-cgus, r=<try>
Use more CGUs in incremental compilation Just wondering how this looks in perf... r? `@ghost`
2 parents 37d56da + cc1ef91 commit ff1120a

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)