Auto merge of #51931 - cramertj:rm-libbacktrace, r=alexcrichton
Use in-tree libbacktrace on Fuchsia
cc @abarth
r? @alexcrichton
(welcome back! 😄 )
This commit is contained in:
commit
a53bd20fae
@ -22,7 +22,6 @@ fn main() {
|
|||||||
if cfg!(feature = "backtrace") &&
|
if cfg!(feature = "backtrace") &&
|
||||||
!target.contains("cloudabi") &&
|
!target.contains("cloudabi") &&
|
||||||
!target.contains("emscripten") &&
|
!target.contains("emscripten") &&
|
||||||
!target.contains("fuchsia") &&
|
|
||||||
!target.contains("msvc") &&
|
!target.contains("msvc") &&
|
||||||
!target.contains("wasm32")
|
!target.contains("wasm32")
|
||||||
{
|
{
|
||||||
@ -68,10 +67,6 @@ fn main() {
|
|||||||
println!("cargo:rustc-link-lib=userenv");
|
println!("cargo:rustc-link-lib=userenv");
|
||||||
println!("cargo:rustc-link-lib=shell32");
|
println!("cargo:rustc-link-lib=shell32");
|
||||||
} else if target.contains("fuchsia") {
|
} else if target.contains("fuchsia") {
|
||||||
// use system-provided libbacktrace
|
|
||||||
if cfg!(feature = "backtrace") {
|
|
||||||
println!("cargo:rustc-link-lib=backtrace");
|
|
||||||
}
|
|
||||||
println!("cargo:rustc-link-lib=zircon");
|
println!("cargo:rustc-link-lib=zircon");
|
||||||
println!("cargo:rustc-link-lib=fdio");
|
println!("cargo:rustc-link-lib=fdio");
|
||||||
} else if target.contains("cloudabi") {
|
} else if target.contains("cloudabi") {
|
||||||
|
Loading…
Reference in New Issue
Block a user