Skip to content

Commit c703ff2

Browse files
committed
Auto merge of #45806 - alexcrichton:update-llvm-for-mips, r=michaelwoerister
rustbuild: Re-enable ThinLTO for MIPS Now that the upstream LLVM bug is now fixed this commit cherry-picks the commit onto our LLVM and then re-enables the ThinLTO paths for MIPS. Closes #45654
2 parents 25cc4a8 + ef0d843 commit c703ff2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/bootstrap/builder.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,7 @@ impl<'a> Builder<'a> {
625625

626626
if mode != Mode::Libstd && // FIXME(#45320)
627627
self.config.rust_codegen_units.is_none() &&
628-
self.build.is_rust_llvm(compiler.host) &&
629-
!target.contains("mips") // FIXME(#45654)
628+
self.build.is_rust_llvm(compiler.host)
630629
{
631630
cargo.env("RUSTC_THINLTO", "1");
632631
}

0 commit comments

Comments
 (0)