Skip to content

Commit 2f8f464

Browse files
committed
Fix mini_core on Windows and macOS
1 parent 9196eb3 commit 2f8f464

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎example/mini_core.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ fn panic_in_cleanup() -> ! {
537537
loop{}
538538
}
539539

540+
#[cfg(all(unix, not(target_vendor = "apple")))]
540541
#[link(name = "gcc_s")]
541542
extern"C"{
542543
fn_Unwind_Resume(exc:*mut()) -> !;

0 commit comments

Comments
 (0)