We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d6604 commit b82af92Copy full SHA for b82af92
src/libpanic_unwind/gcc.rs
@@ -331,13 +331,7 @@ unsafe fn find_eh_action(
331
target_env = "gnu"
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
-}
+use uw::_Unwind_Resume as rust_eh_unwind_resume;
341
342
// Frame unwind info registration
343
//
0 commit comments