mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
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
This commit is contained in:
@@ -625,8 +625,7 @@ pub fn cargo(&self,
|
||||
|
||||
if mode != Mode::Libstd && // FIXME(#45320)
|
||||
self.config.rust_codegen_units.is_none() &&
|
||||
self.build.is_rust_llvm(compiler.host) &&
|
||||
!target.contains("mips") // FIXME(#45654)
|
||||
self.build.is_rust_llvm(compiler.host)
|
||||
{
|
||||
cargo.env("RUSTC_THINLTO", "1");
|
||||
}
|
||||
|
||||
+1
-1
Submodule src/llvm updated: 83b72cedfd...86c7a9985d
Reference in New Issue
Block a user