Skip to content

[6.1] Update SwiftStdlib 6.1 availability macro #80722

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

Merged
merged 2 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion include/swift/AST/RuntimeVersions.def
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ RUNTIME_VERSION(

RUNTIME_VERSION(
(6, 1),
FUTURE
PLATFORM(macOS, (15, 4, 0))
PLATFORM(iOS, (18, 4, 0))
PLATFORM(watchOS, (11, 4, 0))
PLATFORM(xrOS, (2, 4, 0))
)

END_MAJOR_VERSION(6)
Expand Down
7 changes: 4 additions & 3 deletions utils/availability-macros.def
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ SwiftStdlib 5.8:macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4
SwiftStdlib 5.9:macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0
SwiftStdlib 5.10:macOS 14.4, iOS 17.4, watchOS 10.4, tvOS 17.4, visionOS 1.1
SwiftStdlib 6.0:macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0
SwiftStdlib 6.1:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999
# TODO: Also update ASTContext::getSwift510Availability when needed
# TODO: Also update ASTContext::getSwift60Availability when needed
SwiftStdlib 6.1:macOS 15.4, iOS 18.4, watchOS 11.4, tvOS 18.4, visionOS 2.4

# TODO: When you add a new version, remember to tell the compiler about it
# by also adding it to include/swift/AST/RuntimeVersions.def.

# Local Variables:
# mode: conf-unix
Expand Down