Skip to content

Commit

Permalink
libunwind: Use libunwind when targeting UWP
Browse files Browse the repository at this point in the history
libgcc's support is using forbidden functions
  • Loading branch information
chouquette committed Apr 25, 2019
1 parent be7b6dc commit 312e9ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libunwind/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ fn main() {
} else if target.contains("windows-gnu") {
println!("cargo:rustc-link-lib=static-nobundle=gcc_eh");
println!("cargo:rustc-link-lib=static-nobundle=pthread");
} else if target.contains("uwp") {
println!("cargo:rustc-link-lib=unwind");
} else if target.contains("fuchsia") {
println!("cargo:rustc-link-lib=unwind");
} else if target.contains("haiku") {
Expand Down

0 comments on commit 312e9ce

Please sign in to comment.