Skip to content

Commit 14837b9

Browse files
authored
Horizon OS support (#448)
1 parent 67d0df3 commit 14837b9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/backtrace/libunwind.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ mod uw {
157157
#[cfg(all(
158158
not(all(target_os = "android", target_arch = "arm")),
159159
not(all(target_os = "freebsd", target_arch = "arm")),
160-
not(all(target_os = "linux", target_arch = "arm"))
160+
not(all(target_os = "linux", target_arch = "arm")),
161+
not(all(target_os = "horizon", target_arch = "arm"))
161162
))]
162163
pub fn _Unwind_GetIP(ctx: *mut _Unwind_Context) -> libc::uintptr_t;
163164

@@ -204,13 +205,15 @@ mod uw {
204205
#[cfg(any(
205206
all(target_os = "android", target_arch = "arm"),
206207
all(target_os = "freebsd", target_arch = "arm"),
207-
all(target_os = "linux", target_arch = "arm")
208+
all(target_os = "linux", target_arch = "arm"),
209+
all(target_os = "horizon", target_arch = "arm")
208210
))]
209211
pub use self::arm::*;
210212
#[cfg(any(
211213
all(target_os = "android", target_arch = "arm"),
212214
all(target_os = "freebsd", target_arch = "arm"),
213-
all(target_os = "linux", target_arch = "arm")
215+
all(target_os = "linux", target_arch = "arm"),
216+
all(target_os = "horizon", target_arch = "arm")
214217
))]
215218
mod arm {
216219
pub use super::*;

0 commit comments

Comments
 (0)