diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-08-10 20:36:25 +0000 |
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2023-08-10 20:36:25 +0000 |
| commit | 498d6562c3fc4e9261efe2e8188fb45c64532eef (patch) | |
| tree | a0b5810de73a2546e2ebc025aa0c83b4f6cdd0ba /compiler | |
| parent | 99c1bcfac500bc5bf1cc5992dca4f918540de556 (diff) | |
| download | rust-498d6562c3fc4e9261efe2e8188fb45c64532eef.tar.gz rust-498d6562c3fc4e9261efe2e8188fb45c64532eef.zip | |
infer no use of lld when using a generic linker driver
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs index 1871239d7de..4aa6f1f98a2 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs @@ -338,7 +338,7 @@ impl LinkerFlavor { || stem == "clang++" || stem.ends_with("-clang++") { - (Some(Cc::Yes), None) + (Some(Cc::Yes), Some(Lld::No)) } else if stem == "wasm-ld" || stem.ends_with("-wasm-ld") || stem == "ld.lld" |
