diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-05-07 14:08:11 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-05-07 14:08:11 +0000 |
| commit | 2f8f4643900301caa2984fd97f6c20347ea9936e (patch) | |
| tree | a921e92da95c14c31f242599d26769c837a7803d | |
| parent | 9196eb3dd1506048dcbbfd8504e26ac2b130940b (diff) | |
| download | rust-2f8f4643900301caa2984fd97f6c20347ea9936e.tar.gz rust-2f8f4643900301caa2984fd97f6c20347ea9936e.zip | |
Fix mini_core on Windows and macOS
| -rw-r--r-- | example/mini_core.rs | 1 |
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 ()) -> !; |
