Skip to content

Commit a1b8461

Browse files
committed
Fix dynamic linking for Windows UWP targets
1 parent 86134e7 commit a1b8461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/build_context/target_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl TargetInfo {
228228
}];
229229

230230
// See rust-lang/cargo#4500.
231-
if target_triple.ends_with("pc-windows-msvc")
231+
if target_triple.ends_with("-windows-msvc")
232232
&& crate_type.ends_with("dylib")
233233
&& suffix == ".dll"
234234
{

0 commit comments

Comments
 (0)