Skip to content

Commit

Permalink
infer no use of lld when using a generic linker driver
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed Aug 10, 2023
1 parent 99c1bcf commit 498d656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_target/src/spec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 498d656

Please sign in to comment.