Skip to content

Commit f62342a

Browse files
committed
Bump the ThinLTO inlining threshold for the compiler
1 parent e2789cb commit f62342a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2019,7 +2019,7 @@ impl<'a> Builder<'a> {
20192019
let limit = match self.config.rust_thin_lto_import_instr_limit {
20202020
Some(limit) => Some(limit),
20212021
None if self.config.incremental => Some(10),
2022-
_ => None,
2022+
_ => Some(150),
20232023
};
20242024

20252025
if let Some(limit) = limit {

0 commit comments

Comments
 (0)