From 2f8f4643900301caa2984fd97f6c20347ea9936e Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 7 May 2025 14:08:11 +0000 Subject: [PATCH] Fix mini_core on Windows and macOS --- example/mini_core.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/example/mini_core.rs b/example/mini_core.rs index 832135568f37..1dc799c0aeea 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -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 ()) -> !;