Skip to content

Commit

Permalink
Disable libbacktrace on libnx
Browse files Browse the repository at this point in the history
  • Loading branch information
leo60228 committed Jul 24, 2020
1 parent 4083a90 commit 66912b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/backtrace-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ fn main() {
target.contains("hermit") ||
target.contains("wasm32") ||
target.contains("fuchsia") ||
target.contains("uclibc")
target.contains("uclibc") ||
target.contains("devkita64")
{
println!("cargo:rustc-cfg=empty");
return;
Expand Down
1 change: 1 addition & 0 deletions src/symbolize/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ cfg_if::cfg_if! {
not(target_os = "fuchsia"),
not(target_os = "emscripten"),
not(target_env = "uclibc"),
not(target_env = "libnx"),
))] {
mod libbacktrace;
use self::libbacktrace::resolve as resolve_imp;
Expand Down

0 comments on commit 66912b9

Please sign in to comment.