Skip to content

Commit d9e0f19

Browse files
committed
[perf experiment] (crudely) implement MIR-only rlibs
1 parent e223c41 commit d9e0f19

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/src/core/builder.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1371,6 +1371,9 @@ impl<'a> Builder<'a> {
13711371
rustflags.arg("--cfg=bootstrap");
13721372
}
13731373
}
1374+
if stage != 0 && mode == Mode::Std {
1375+
rustflags.arg("-Zcross-crate-inline-threshold=yes");
1376+
}
13741377

13751378
let use_new_symbol_mangling = match self.config.rust_new_symbol_mangling {
13761379
Some(setting) => {

0 commit comments

Comments
 (0)