Explorar o código

More windows linkage guesses

Alex Crichton %!s(int64=7) %!d(string=hai) anos
pai
achega
215fa06fb6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/intrinsics.rs

+ 1 - 0
examples/intrinsics.rs

@@ -418,6 +418,7 @@ pub fn _start() -> ! {
 
 #[cfg(windows)]
 #[link(name = "kernel32")]
+#[link(name = "msvcrt")]
 extern {}
 
 // ARM targets need these symbols