Skip to content

Commit

Permalink
Prefer libgcc_eh over libunwind for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeul committed Oct 5, 2018
1 parent 1b47e0a commit e3b9058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libunwind/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ cfg_if! {
}

#[cfg(target_env = "musl")]
#[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))]
#[link(name = "gcc_eh", cfg(target_feature = "crt-static"))]
#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
extern {}

0 comments on commit e3b9058

Please sign in to comment.