From 3b77dbd25aaa8beb30d5191906b055ebb3f443ed Mon Sep 17 00:00:00 2001 From: Quentin Perez Date: Sun, 14 Apr 2024 22:00:48 +0200 Subject: [PATCH] Add Apple visionOS support --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b3b3d0e2..f9ea6ada 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -299,7 +299,7 @@ cfg_if! { #[path = "dragonfly.rs"] mod imp; } else if #[cfg(target_os = "fuchsia")] { #[path = "fuchsia.rs"] mod imp; - } else if #[cfg(any(target_os = "ios", target_os = "watchos", target_os = "tvos"))] { + } else if #[cfg(any(target_os = "ios", target_os = "visionos", target_os = "watchos", target_os = "tvos"))] { #[path = "apple-other.rs"] mod imp; } else if #[cfg(target_os = "macos")] { mod util_libc;