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 ()) -> !;