Skip to content

Commit

Permalink
Remove -lmsvcrt
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Sep 18, 2024
1 parent 34f64ea commit a5fc607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl Zig {
// zig doesn't support --disable-auto-image-base, --dynamicbase and --large-address-aware
return None;
} else if arg == "-lmsvcrt" {
return Some("-lmsvcrt-os".to_owned());
return None;
}
} else if arg == "-Wl,--no-undefined-version" {
// https://github.com/rust-lang/rust/blob/542ed2bf72b232b245ece058fc11aebb1ca507d7/compiler/rustc_codegen_ssa/src/back/linker.rs#L723
Expand Down

0 comments on commit a5fc607

Please sign in to comment.