Skip to content

Commit 1efa4cb

Browse files
authored
Merge pull request #99 from eugenehp/visionos
feat: Added visionOS support for Apple Vision Pro
2 parents 6e396da + df28e8b commit 1efa4cb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ use macos as os;
7575
#[cfg(target_os = "ios")]
7676
use ios as os;
7777

78+
#[cfg(target_os = "visionos")]
79+
use ios as os;
80+
7881
#[cfg(target_os = "haiku")]
7982
use haiku as os;
8083

@@ -103,6 +106,7 @@ use unix as os;
103106
target_os = "illumos",
104107
target_os = "solaris",
105108
target_os = "ios",
109+
target_os = "visionos",
106110
target_os = "macos",
107111
target_os = "windows",
108112
target_os = "haiku",
@@ -352,6 +356,9 @@ mod macos;
352356
#[cfg(target_os = "ios")]
353357
mod ios;
354358

359+
#[cfg(target_os = "visionos")]
360+
mod ios;
361+
355362
#[cfg(target_os = "haiku")]
356363
mod haiku;
357364

0 commit comments

Comments
 (0)