File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
builtins-test-intrinsics/src Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -684,16 +684,22 @@ pub fn __aeabi_unwind_cpp_pr0() {}
684684#[ no_mangle]
685685pub 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" ) ) ) ]
690690pub 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" ) ) ) ]
695695pub 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" ) ) ]
698704mod mingw_unwinding {
699705 #[ no_mangle]
You can’t perform that action at this time.
0 commit comments