Skip to content

Commit b82af92

Browse files
Re-export _Unwind_Resume
1 parent a2d6604 commit b82af92

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/libpanic_unwind/gcc.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -331,13 +331,7 @@ unsafe fn find_eh_action(
331331
target_env = "gnu"
332332
))]
333333
#[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-
}
334+
use uw::_Unwind_Resume as rust_eh_unwind_resume;
341335

342336
// Frame unwind info registration
343337
//

0 commit comments

Comments
 (0)