Try to fix linkage on windows
This commit is contained in:
parent
0d1138fad3
commit
107cbd36a0
1 changed files with 4 additions and 0 deletions
|
|
@ -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() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue