We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3becaf4 commit 642f8cdCopy full SHA for 642f8cd
src/libunwind/build.rs
@@ -30,9 +30,11 @@ fn main() {
30
println!("cargo:rustc-link-lib=gcc_s");
31
} else if target.contains("dragonfly") {
32
println!("cargo:rustc-link-lib=gcc_pic");
33
- } else if target.contains("windows-gnu") {
+ } else if target.contains("pc-windows-gnu") {
34
println!("cargo:rustc-link-lib=static-nobundle=gcc_eh");
35
println!("cargo:rustc-link-lib=static-nobundle=pthread");
36
+ } else if target.contains("uwp-windows-gnu") {
37
+ println!("cargo:rustc-link-lib=unwind");
38
} else if target.contains("fuchsia") {
39
println!("cargo:rustc-link-lib=unwind");
40
} else if target.contains("haiku") {
0 commit comments