Try to fix linkage on windows

This commit is contained in:
Alex Crichton 2017-06-22 23:41:28 -07:00
parent 0d1138fad3
commit 107cbd36a0

View file

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