Skip to content

Commit 66912b9

Browse files
committed
Disable libbacktrace on libnx
1 parent 4083a90 commit 66912b9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/backtrace-sys/build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ fn main() {
1414
target.contains("hermit") ||
1515
target.contains("wasm32") ||
1616
target.contains("fuchsia") ||
17-
target.contains("uclibc")
17+
target.contains("uclibc") ||
18+
target.contains("devkita64")
1819
{
1920
println!("cargo:rustc-cfg=empty");
2021
return;

src/symbolize/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ cfg_if::cfg_if! {
473473
not(target_os = "fuchsia"),
474474
not(target_os = "emscripten"),
475475
not(target_env = "uclibc"),
476+
not(target_env = "libnx"),
476477
))] {
477478
mod libbacktrace;
478479
use self::libbacktrace::resolve as resolve_imp;

0 commit comments

Comments
 (0)