Skip to content

Commit

Permalink
[perf experiment] (crudely) implement MIR-only rlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Dec 16, 2023
1 parent e223c41 commit d9e0f19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/src/core/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,9 @@ impl<'a> Builder<'a> {
rustflags.arg("--cfg=bootstrap");
}
}
if stage != 0 && mode == Mode::Std {
rustflags.arg("-Zcross-crate-inline-threshold=yes");
}

let use_new_symbol_mangling = match self.config.rust_new_symbol_mangling {
Some(setting) => {
Expand Down

0 comments on commit d9e0f19

Please sign in to comment.