Fix mini_core on Windows and macOS

This commit is contained in:
bjorn3 2025-05-07 14:08:11 +00:00
parent 9196eb3dd1
commit 2f8f464390

View file

@ -537,6 +537,7 @@ fn panic_in_cleanup() -> ! {
loop {}
}
#[cfg(all(unix, not(target_vendor = "apple")))]
#[link(name = "gcc_s")]
extern "C" {
fn _Unwind_Resume(exc: *mut ()) -> !;