We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb3536 commit e237e02Copy full SHA for e237e02
src/librustc_target/spec/windows_gnu_base.rs
@@ -20,9 +20,9 @@ pub fn opts() -> TargetOptions {
20
late_link_args.insert(
21
LinkerFlavor::Gcc,
22
vec![
23
+ "-lmsvcrt".to_string(),
24
"-lmingwex".to_string(),
25
"-lmingw32".to_string(),
- "-lmsvcrt".to_string(),
26
// mingw's msvcrt is a weird hybrid import library and static library.
27
// And it seems that the linker fails to use import symbols from msvcrt
28
// that are required from functions in msvcrt in certain cases. For example
0 commit comments