We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dbac07 commit a2d6604Copy full SHA for a2d6604
src/libpanic_unwind/gcc.rs
@@ -332,6 +332,9 @@ unsafe fn find_eh_action(
332
))]
333
#[lang = "eh_unwind_resume"]
334
#[unwind(allowed)]
335
+// This must always be inlined because _Unwind_Resume expects to be called
336
+// directly from the landing pad.
337
+#[cfg_attr(not(bootstrap), inline(always))]
338
unsafe extern "C" fn rust_eh_unwind_resume(panic_ctx: *mut u8) -> ! {
339
uw::_Unwind_Resume(panic_ctx as *mut uw::_Unwind_Exception);
340
}
0 commit comments