Try to fix linkage on windows
This commit is contained in:
parent
12a0038250
commit
a4120adc69
@ -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() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user