Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c858fab

Browse files
committedApr 13, 2024·
Add Apple visionOS support
1 parent e151306 commit c858fab

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎src/backtrace/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ cfg_if::cfg_if! {
176176
unix,
177177
not(target_os = "emscripten"),
178178
not(all(target_os = "ios", target_arch = "arm")),
179+
not(all(target_os = "visionos", target_arch = "arm")),
179180
not(all(target_os = "nto", target_env = "nto70")),
180181
),
181182
all(

‎src/symbolize/gimli.rs

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ cfg_if::cfg_if! {
3737
target_os = "haiku",
3838
target_os = "hurd",
3939
target_os = "ios",
40+
target_os = "visionos",
4041
target_os = "linux",
4142
target_os = "macos",
4243
target_os = "openbsd",
@@ -198,6 +199,7 @@ cfg_if::cfg_if! {
198199
} else if #[cfg(any(
199200
target_os = "macos",
200201
target_os = "ios",
202+
target_os = "visionos",
201203
target_os = "tvos",
202204
target_os = "watchos",
203205
))] {
@@ -219,6 +221,7 @@ cfg_if::cfg_if! {
219221
} else if #[cfg(any(
220222
target_os = "macos",
221223
target_os = "ios",
224+
target_os = "visionos",
222225
target_os = "tvos",
223226
target_os = "watchos",
224227
))] {

0 commit comments

Comments
 (0)
Please sign in to comment.