Skip to content

Commit

Permalink
Disable libunwind for RTEMS OS (#665)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
thesummer committed Sep 7, 2024
1 parent c521d9a commit df56954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backtrace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ cfg_if::cfg_if! {
any(
all(
unix,
not(target_os = "emscripten"),
not(any(target_os = "emscripten", target_os = "rtems")),
not(all(target_os = "ios", target_arch = "arm")),
),
all(
Expand Down

0 comments on commit df56954

Please sign in to comment.