Skip to content

Commit

Permalink
Auto merge of rust-lang#45908 - alexcrichton:disable-thinlto-libtest,…
Browse files Browse the repository at this point in the history
… r=Mark-Simulacrum

rustbuild: Disable ThinLTO for libtest

Right now ThinLTO is generating bad dwarf which is tracked by rust-lang#45511, but this
is causing issues on OSX (rust-lang#45768) where `dsymutil` is segfaulting and failing to
produce output.

Closes rust-lang#45768
  • Loading branch information
bors committed Nov 12, 2017
2 parents 3d2dc6e + f6cc9ee commit fb5ba4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ impl<'a> Builder<'a> {
}

if mode != Mode::Libstd && // FIXME(#45320)
mode != Mode::Libtest && // FIXME(#45511)
self.config.rust_codegen_units.is_none() &&
self.build.is_rust_llvm(compiler.host)
{
Expand Down

0 comments on commit fb5ba4e

Please sign in to comment.