Skip to content

Commit

Permalink
Revert -lmsvcrt change
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Sep 18, 2024
1 parent d600124 commit ebf92bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/zig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ impl Zig {
// zig doesn't provide gcc_eh alternative
// We use libc++ to replace it on windows gnu targets
return Some("-lc++".to_string());
} else if arg == "-lmsvcrt" {
// avoid error: unable to find dynamic system library 'msvcrt'
return None;
} else if arg == "-Wl,-Bdynamic"
&& (zig_version.major, zig_version.minor) >= (0, 11)
{
Expand Down

0 comments on commit ebf92bc

Please sign in to comment.