Try to fix linkage on windows

This commit is contained in:
Alex Crichton 2017-06-22 23:41:28 -07:00
parent 12a0038250
commit a4120adc69

View File

@ -416,6 +416,10 @@ pub fn _start() -> ! {
loop {} loop {}
} }
#[cfg(windows)]
#[link(name = "kernel32")]
extern {}
// ARM targets need these symbols // ARM targets need these symbols
#[no_mangle] #[no_mangle]
pub fn __aeabi_unwind_cpp_pr0() {} pub fn __aeabi_unwind_cpp_pr0() {}