Skip to content

Commit 312e9ce

Browse files
committed
libunwind: Use libunwind when targeting UWP
libgcc's support is using forbidden functions
1 parent be7b6dc commit 312e9ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libunwind/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ fn main() {
3333
} else if target.contains("windows-gnu") {
3434
println!("cargo:rustc-link-lib=static-nobundle=gcc_eh");
3535
println!("cargo:rustc-link-lib=static-nobundle=pthread");
36+
} else if target.contains("uwp") {
37+
println!("cargo:rustc-link-lib=unwind");
3638
} else if target.contains("fuchsia") {
3739
println!("cargo:rustc-link-lib=unwind");
3840
} else if target.contains("haiku") {

0 commit comments

Comments
 (0)