Skip to content

Commit df56954

Browse files
authored
Disable libunwind for RTEMS OS (#665)
We added target support for RTEMS OS in rust-lang/rust#127021 It has a POSIX interface, so we could reuse much of the `unix` backend, but currently libunwind is not supported. Add a `cfg` switch to disable libunwind for RTEMS.
1 parent c521d9a commit df56954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backtrace/mod.rs

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

0 commit comments

Comments
 (0)