Skip to content

Commit d0a8833

Browse files
committed
Prefer libgcc_eh over libunwind for musl
1 parent 71bd5c3 commit d0a8833

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
@@ -48,7 +48,7 @@ cfg_if::cfg_if! {
4848
#[link(name = "unwind", cfg(not(target_feature = "crt-static")))]
4949
extern "C" {}
5050
} else {
51-
#[link(name = "unwind", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))]
51+
#[link(name = "gcc_eh", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))]
5252
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
5353
extern "C" {}
5454
}

0 commit comments

Comments
 (0)