libunwind: Use libunwind when targeting UWP
libgcc's support is using forbidden functions
This commit is contained in:
parent
3becaf4b9b
commit
642f8cd9c2
@ -30,9 +30,11 @@ fn main() {
|
||||
println!("cargo:rustc-link-lib=gcc_s");
|
||||
} else if target.contains("dragonfly") {
|
||||
println!("cargo:rustc-link-lib=gcc_pic");
|
||||
} else if target.contains("windows-gnu") {
|
||||
} else if target.contains("pc-windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=static-nobundle=gcc_eh");
|
||||
println!("cargo:rustc-link-lib=static-nobundle=pthread");
|
||||
} else if target.contains("uwp-windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=unwind");
|
||||
} else if target.contains("fuchsia") {
|
||||
println!("cargo:rustc-link-lib=unwind");
|
||||
} else if target.contains("haiku") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user