-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Introduce visionOS Platform #72834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce visionOS Platform #72834
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍾
test/IRGen/temporary_allocation/codegen_very_large_allocation.swift
Outdated
Show resolved
Hide resolved
@@ -72,6 +72,8 @@ static const SupportedConditionalValue SupportedConditionalCompilationOSs[] = { | |||
"tvOS", | |||
"watchOS", | |||
"iOS", | |||
"visionOS", | |||
"xrOS", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forget - did we implement migration warnings from the toolchain name to the platform name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we have, but we really ought to. I will take a look at that once this change lands.
Why are some uses in the stdlib using |
🎉 |
I know this is probably unrealistic but it would be really nice if all the variable names used in build scripts and such could also be switched to |
a598e0e
to
05a3c00
Compare
I've changed stdlib sources to be consistent on |
05a3c00
to
9bf593b
Compare
9bf593b
to
01931ab
Compare
I'm very keen to reach the same end-state. Though it will have happen at the LLVM-level first for the API surface. In the meantime, we can chip away at a lot of the config code here as well, which I'd like to do post-merge. |
d89d9e3
to
e47976c
Compare
e47976c
to
addd234
Compare
1 similar comment
b9dc540
to
d16f50b
Compare
d16f50b
to
01c56fe
Compare
@swift-ci test |
This change introduces a new compilation target platform to the Swift compiler - visionOS. - Changes to the compiler build infrastrucuture to support building compiler-adjacent artifacts and test suites for the new target. - Addition of the new platform kind definition. - Support for the new platform in language constructs such as compile-time availability annotations or runtime OS version queries. - Utilities to read out Darwin platform SDK info containing platform mapping data. - Utilities to support re-mapping availability annotations from iOS to visionOS (e.g. 'updateIntroducedPlatformForFallback', 'updateDeprecatedPlatformForFallback', 'updateObsoletedPlatformForFallback'). - Additional tests exercising platform-specific availability handling and availability re-mapping fallback code-path. - Changes to existing test suite to accomodate the new platform.
01c56fe
to
1f14158
Compare
@swift-ci test |
#424) Since swiftlang/swift#72834, the Swift compiler supports visionOS availability annotations. For completeness, add this platform to existing tests which declare Apple platform availability.
This change adds a new compilation target platform to the Swift compiler - visionOS.
updateIntroducedPlatformForFallback
,updateDeprecatedPlatformForFallback
,updateObsoletedPlatformForFallback
).