From d8f1ce88852c0a1214b45ce819db81da17e2d86f Mon Sep 17 00:00:00 2001 From: Jan Sommer Date: Sun, 24 Nov 2024 14:36:55 +0100 Subject: [PATCH] Enable libunwind for rtems --- src/backtrace/libunwind.rs | 1 + src/backtrace/mod.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backtrace/libunwind.rs b/src/backtrace/libunwind.rs index d439be06..44daac5c 100644 --- a/src/backtrace/libunwind.rs +++ b/src/backtrace/libunwind.rs @@ -182,6 +182,7 @@ mod uw { not(all(target_os = "freebsd", target_arch = "arm")), not(all(target_os = "linux", target_arch = "arm")), not(all(target_os = "horizon", target_arch = "arm")), + not(all(target_os = "rtems", target_arch = "arm")), not(all(target_os = "vita", target_arch = "arm")), ))] { extern "C" { diff --git a/src/backtrace/mod.rs b/src/backtrace/mod.rs index 70b86820..75925d97 100644 --- a/src/backtrace/mod.rs +++ b/src/backtrace/mod.rs @@ -174,7 +174,7 @@ cfg_if::cfg_if! { any( all( unix, - not(any(target_os = "emscripten", target_os = "rtems")), + not(target_os = "emscripten"), not(all(target_os = "ios", target_arch = "arm")), ), all(