From aa6e2dd8836945a5e5a7554b8fca185cdf7d83b7 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Mon, 29 Apr 2024 08:15:55 +0800 Subject: [PATCH] feat: Add VisionOS to apple_targets --- 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) },