Skip to content

Commit

Permalink
Horizon OS support (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meziu authored Oct 25, 2021
1 parent 67d0df3 commit 14837b9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/backtrace/libunwind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ mod uw {
#[cfg(all(
not(all(target_os = "android", target_arch = "arm")),
not(all(target_os = "freebsd", target_arch = "arm")),
not(all(target_os = "linux", target_arch = "arm"))
not(all(target_os = "linux", target_arch = "arm")),
not(all(target_os = "horizon", target_arch = "arm"))
))]
pub fn _Unwind_GetIP(ctx: *mut _Unwind_Context) -> libc::uintptr_t;

Expand Down Expand Up @@ -204,13 +205,15 @@ mod uw {
#[cfg(any(
all(target_os = "android", target_arch = "arm"),
all(target_os = "freebsd", target_arch = "arm"),
all(target_os = "linux", target_arch = "arm")
all(target_os = "linux", target_arch = "arm"),
all(target_os = "horizon", target_arch = "arm")
))]
pub use self::arm::*;
#[cfg(any(
all(target_os = "android", target_arch = "arm"),
all(target_os = "freebsd", target_arch = "arm"),
all(target_os = "linux", target_arch = "arm")
all(target_os = "linux", target_arch = "arm"),
all(target_os = "horizon", target_arch = "arm")
))]
mod arm {
pub use super::*;
Expand Down

0 comments on commit 14837b9

Please sign in to comment.