We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81f19ec + 1ae3b50 commit ddcc281Copy full SHA for ddcc281
src/librustc_target/spec/windows_base.rs
@@ -60,6 +60,8 @@ pub fn opts() -> TargetOptions {
60
"-lgcc".to_string(),
61
"-lgcc_eh".to_string(),
62
"-lpthread".to_string(),
63
+ // libpthread depends on libmsvcrt, so we need to link it *again*.
64
+ "-lmsvcrt".to_string(),
65
"-lkernel32".to_string(),
66
],
67
);
0 commit comments