diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-11-10 01:39:07 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-11-10 01:39:07 -0800 |
| commit | f6cc9ee7ad2ddc22ef768befc880411964d2d9ed (patch) | |
| tree | d766dab51b76536a59aa307615527dce0d6c8ab5 /src/bootstrap | |
| parent | d5ff0e6422061c390a141354af8eacd540dca10b (diff) | |
| download | rust-f6cc9ee7ad2ddc22ef768befc880411964d2d9ed.tar.gz rust-f6cc9ee7ad2ddc22ef768befc880411964d2d9ed.zip | |
rustbuild: Disable ThinLTO for libtest
Right now ThinLTO is generating bad dwarf which is tracked by #45511, but this is causing issues on OSX (#45768) where `dsymutil` is segfaulting and failing to produce output. Closes #45768
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/builder.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index bb3d9dc3f33..3b2645635f1 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -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) && !target.contains("mips") // FIXME(#45654) |
