Skip to content

Commit 5726b61

Browse files
committed
Prefer libgcc_eh over libunwind for musl
1 parent 0d4b9b8 commit 5726b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/unwind/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ cfg_if::cfg_if! {
4949
#[link(name = "unwind", cfg(not(target_feature = "crt-static")))]
5050
extern "C" {}
5151
} else {
52-
#[link(name = "unwind", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))]
52+
#[link(name = "gcc_eh", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))]
5353
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
5454
extern "C" {}
5555
}

0 commit comments

Comments
 (0)