about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-05-07 14:08:11 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-05-07 14:08:11 +0000
commit2f8f4643900301caa2984fd97f6c20347ea9936e (patch)
treea921e92da95c14c31f242599d26769c837a7803d
parent9196eb3dd1506048dcbbfd8504e26ac2b130940b (diff)
downloadrust-2f8f4643900301caa2984fd97f6c20347ea9936e.tar.gz
rust-2f8f4643900301caa2984fd97f6c20347ea9936e.zip
Fix mini_core on Windows and macOS
-rw-r--r--example/mini_core.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs
index 832135568f3..1dc799c0aee 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 ()) -> !;