Sfoglia il codice sorgente

More windows linkage guesses

Alex Crichton 8 anni fa
parent
commit
215fa06fb6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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