We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d2cf56 commit 38d2dd6Copy full SHA for 38d2dd6
src/cargo/core/compiler/build_context/target_info.rs
@@ -389,7 +389,10 @@ impl TargetInfo {
389
crate_type: Some(crate_type.clone()),
390
should_replace_hyphens: true,
391
});
392
- } else if target_triple.ends_with("windows-gnu") && suffix == ".dll" {
+ } else if suffix == ".dll"
393
+ && (target_triple.ends_with("windows-gnu")
394
+ || target_triple.ends_with("windows-gnullvm"))
395
+ {
396
// See https://cygwin.com/cygwin-ug-net/dll.html for more
397
// information about GNU import libraries.
398
// LD can link DLL directly, but LLD requires the import library.
0 commit comments