Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc: Disable ThinLTO for LLVM's build
This commit goes back to disabling ThinLTO for building LLVM and its tools. It turns out that this caused a regression at rust-lang#56849 which I believe we'll definitely want to fix before it goes live. The bisection turned up an [upstream LLVM bug][bug], so hopefully there'll eventually be a fix we can backport. I've also been a little uneasy about how we're only enabling ThinLTO for LLVM on Linux, and we haven't had a chance to turn it on for OSX and Windows (other "Tier 1" platforms) yet. Additionally it had an unexpected hit to CI time we never got around to fixing. I'd ideally prefer that we fix these issues as well before re-landing. Closes rust-lang#56849 [bug]: https://bugs.llvm.org/show_bug.cgi?id=40045
- Loading branch information