Skip to content

Commit e59c970

Browse files
authored
feat: Add VisionOS to apple_targets (#2390)
1 parent e524c40 commit e59c970

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ fn main() {
1414
solaris: { target_os = "solaris" },
1515
watchos: { target_os = "watchos" },
1616
tvos: { target_os = "tvos" },
17+
visionos: { target_os = "visionos" },
1718

1819

1920
// cfg aliases we would like to use
20-
apple_targets: { any(ios, macos, watchos, tvos) },
21+
apple_targets: { any(ios, macos, watchos, tvos, visionos) },
2122
bsd: { any(freebsd, dragonfly, netbsd, openbsd, apple_targets) },
2223
bsd_without_apple: { any(freebsd, dragonfly, netbsd, openbsd) },
2324
linux_android: { any(android, linux) },

0 commit comments

Comments
 (0)