Skip to content

Commit

Permalink
feat: Add VisionOS to apple_targets (#2390)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC authored Apr 29, 2024
1 parent e524c40 commit e59c970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) },
Expand Down

0 comments on commit e59c970

Please sign in to comment.