Skip to content

Commit 713f4d5

Browse files
committed
hack/workaround: disable LTO
1 parent ea25822 commit 713f4d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1684,6 +1684,7 @@ impl<'a> Builder<'a> {
16841684
rustflags.arg(&format!("-Cllvm-args=-import-instr-limit={}", limit));
16851685
}
16861686
}
1687+
cargo.env(profile_var("LTO"), "off");
16871688

16881689
Cargo { command: cargo, rustflags, rustdocflags }
16891690
}

0 commit comments

Comments
 (0)