From df28e8bdce30cd1a8e930c947566edfd8835cef8 Mon Sep 17 00:00:00 2001 From: Eugene Hauptmann Date: Wed, 29 May 2024 18:54:08 -0400 Subject: [PATCH] added visionos support --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 2c6a43c..8ee987f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -75,6 +75,9 @@ use macos as os; #[cfg(target_os = "ios")] use ios as os; +#[cfg(target_os = "visionos")] +use ios as os; + #[cfg(target_os = "haiku")] use haiku as os; @@ -103,6 +106,7 @@ use unix as os; target_os = "illumos", target_os = "solaris", target_os = "ios", + target_os = "visionos", target_os = "macos", target_os = "windows", target_os = "haiku", @@ -352,6 +356,9 @@ mod macos; #[cfg(target_os = "ios")] mod ios; +#[cfg(target_os = "visionos")] +mod ios; + #[cfg(target_os = "haiku")] mod haiku;