Skip to content

Commit bfde33f

Browse files
committed
Add "-lmsvcrt" twice to get rustc to build with the latest mingw64
1 parent 80e2e67 commit bfde33f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_back/target/windows_base.rs

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ pub fn opts() -> TargetOptions {
5959
"-lmingw32".to_string(),
6060
"-lgcc".to_string(), // alas, mingw* libraries above depend on libgcc
6161
"-lmsvcrt".to_string(),
62+
"-lmsvcrt".to_string(), // mingw is insane...?
6263
"-luser32".to_string(),
6364
"-lkernel32".to_string(),
6465
]);

0 commit comments

Comments
 (0)