Skip to content

Commit d1145fd

Browse files
committed
update
1 parent 815a0f0 commit d1145fd

File tree

1 file changed

+10
-4
lines changed
  • builtins-test-intrinsics/src

1 file changed

+10
-4
lines changed

builtins-test-intrinsics/src/main.rs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,16 +684,22 @@ pub fn __aeabi_unwind_cpp_pr0() {}
684684
#[no_mangle]
685685
pub fn __aeabi_unwind_cpp_pr1() {}
686686

687-
#[cfg(not(any(windows, target_os = "cygwin")))]
688-
#[allow(non_snake_case)]
689687
#[no_mangle]
688+
#[allow(non_snake_case)]
689+
#[cfg(not(any(windows, target_os = "cygwin")))]
690690
pub fn _Unwind_Resume() {}
691691

692-
#[cfg(not(any(windows, target_os = "cygwin")))]
693-
#[lang = "eh_personality"]
694692
#[no_mangle]
693+
#[lang = "eh_personality"]
694+
#[cfg(not(any(windows, target_os = "cygwin")))]
695695
pub extern "system" fn eh_personality() {}
696696

697+
#[cfg(windows)]
698+
#[unsafe(no_mangle)]
699+
extern "system" fn __CxxFrameHandler3() -> ! {
700+
unimplemented!()
701+
}
702+
697703
#[cfg(any(all(windows, target_env = "gnu"), target_os = "cygwin"))]
698704
mod mingw_unwinding {
699705
#[no_mangle]

0 commit comments

Comments
 (0)