diff options
| author | bors <bors@rust-lang.org> | 2020-09-15 15:06:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-15 15:06:59 +0000 |
| commit | 27a45d0aabbc19b635c858033d6e87f86c663570 (patch) | |
| tree | 4468f8a225920178debd04c88b140448e027cb2b /src/bootstrap/native.rs | |
| parent | 4c1966f97e192d6282be935baa163fb58f9b8b27 (diff) | |
| parent | f001a0c8dd074ae46276ce84c3de6a6072e77015 (diff) | |
Auto merge of #76708 - Mark-Simulacrum:lld-macos, r=alexcrichton
Always try to promote shared LLVM to the sysroot Even when LLVM is not generally participating in a shared link with rustc, we will likely still link to the shared dylib from rust-lld, so we still need to promote it. This reverts part of #76349; my expectation that the link-shared rule was sufficient was likely wrong. Hopefully fixes #76698. r? `@alexcrichton`
Diffstat (limited to 'src/bootstrap/native.rs')
| -rw-r--r-- | src/bootstrap/native.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 6cd850bc0bf..3829d47da33 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -129,6 +129,10 @@ impl Step for Llvm { Err(m) => m, }; + if builder.config.llvm_link_shared && target.contains("windows") { + panic!("shared linking to LLVM is not currently supported on Windows"); + } + builder.info(&format!("Building LLVM for {}", target)); t!(stamp.remove()); let _time = util::timeit(&builder); |
