From e59c9709998ebbcc275ed06f5b49ee2db9c42c15 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Mon, 29 Apr 2024 09:28:40 +0800 Subject: [PATCH] feat: Add VisionOS to apple_targets (#2390) --- build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index fd19de0fe9..70adacbd1f 100644 --- a/build.rs +++ b/build.rs @@ -14,10 +14,11 @@ fn main() { solaris: { target_os = "solaris" }, watchos: { target_os = "watchos" }, tvos: { target_os = "tvos" }, + visionos: { target_os = "visionos" }, // cfg aliases we would like to use - apple_targets: { any(ios, macos, watchos, tvos) }, + apple_targets: { any(ios, macos, watchos, tvos, visionos) }, bsd: { any(freebsd, dragonfly, netbsd, openbsd, apple_targets) }, bsd_without_apple: { any(freebsd, dragonfly, netbsd, openbsd) }, linux_android: { any(android, linux) },