Skip to content

Commit d8f1ce8

Browse files
thesummerworkingjubilee
authored andcommitted
Enable libunwind for rtems
1 parent a9c4658 commit d8f1ce8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/backtrace/libunwind.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ mod uw {
182182
not(all(target_os = "freebsd", target_arch = "arm")),
183183
not(all(target_os = "linux", target_arch = "arm")),
184184
not(all(target_os = "horizon", target_arch = "arm")),
185+
not(all(target_os = "rtems", target_arch = "arm")),
185186
not(all(target_os = "vita", target_arch = "arm")),
186187
))] {
187188
extern "C" {

src/backtrace/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ cfg_if::cfg_if! {
174174
any(
175175
all(
176176
unix,
177-
not(any(target_os = "emscripten", target_os = "rtems")),
177+
not(target_os = "emscripten"),
178178
not(all(target_os = "ios", target_arch = "arm")),
179179
),
180180
all(

0 commit comments

Comments
 (0)