Skip to content

Commit 6344cad

Browse files
authored
Uplift windows Cygwin DLL import libraries (#15193)
- needed to link std correctly Related: rust-lang/rust#134999
2 parents 6a70640 + 28d8d77 commit 6344cad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/cargo/core/compiler/build_context/target_info.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ impl TargetInfo {
438438
});
439439
} else if suffix == ".dll"
440440
&& (target_triple.ends_with("windows-gnu")
441-
|| target_triple.ends_with("windows-gnullvm"))
441+
|| target_triple.ends_with("windows-gnullvm")
442+
|| target_triple.ends_with("cygwin"))
442443
{
443444
// See https://cygwin.com/cygwin-ug-net/dll.html for more
444445
// information about GNU import libraries.

0 commit comments

Comments
 (0)