Skip to content

Commit

Permalink
Bump the ThinLTO inlining threshold for the compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Jul 28, 2023
1 parent e2789cb commit f62342a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ impl<'a> Builder<'a> {
let limit = match self.config.rust_thin_lto_import_instr_limit {
Some(limit) => Some(limit),
None if self.config.incremental => Some(10),
_ => None,
_ => Some(150),
};

if let Some(limit) = limit {
Expand Down

0 comments on commit f62342a

Please sign in to comment.