mirror of https://github.com/bazelbuild/platforms
Add Apple visionos.
I'm not really satisified with this PR. The number of Apple specific platforms has grown to the point where we may want to refactor them. The question I would focus on is how various toolchain matches and select clauses go. Do we see things like: ``` foo = select({ ".../os:linux": A, ".../os:windows": B, ".../os:macos": C, ".../os:watchos": C, ".../os:visionos": C, }) ``` Where C is the same for all the apple platforms? Or, do we see real distinctions across the various per-device OSes. Or a mix of both? And, do we see the fanout of the Apple OSes done with a select_or wrapper, so users end up seeing the simple selection of just apple, linux, or windows, but we buried complexity elsewhere?
This commit is contained in:
parent
7815f135e3
commit
ba032f8c98