mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 20:02:35 +03:00
infer no use of lld when using a generic linker driver
This commit is contained in:
@@ -338,7 +338,7 @@ fn infer_linker_hints(linker_stem: &str) -> (Option<Cc>, Option<Lld>) {
|
||||
|| 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"
|
||||
|
||||
Reference in New Issue
Block a user