Skip to content

Commit 97f92af

Browse files
committed
[WIP] Build the compiler with a single CGU
1 parent 1f0a591 commit 97f92af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ impl Config {
869869
backends.iter().map(|s| INTERNER.intern_str(s)).collect();
870870
}
871871

872-
config.rust_codegen_units = rust.codegen_units.map(threads_from_config);
872+
config.rust_codegen_units = Some(1);
873873
config.rust_codegen_units_std = rust.codegen_units_std.map(threads_from_config);
874874
config.rust_profile_use = flags.rust_profile_use.or(rust.profile_use);
875875
config.rust_profile_generate = flags.rust_profile_generate.or(rust.profile_generate);

0 commit comments

Comments
 (0)