Skip to content

Commit 69fbef1

Browse files
committed
Fixed unwinding for iOS
Was broken by Windows adoption
1 parent 08a3453 commit 69fbef1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustrt/unwind.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,10 @@ pub mod eabi {
333333
uw::_URC_HANDLER_FOUND // catch!
334334
}
335335
else { // cleanup phase
336-
uw::_URC_INSTALL_CONTEXT
336+
unsafe {
337+
__gcc_personality_sj0(_version, actions, _exception_class, _ue_header,
338+
_context)
339+
}
337340
}
338341
}
339342
}

0 commit comments

Comments
 (0)