Skip to content

Commit 5e462ee

Browse files
authored
Merge pull request #80722 from slavapestov/6.1-is-out-6.1
[6.1] Update SwiftStdlib 6.1 availability macro
2 parents 0ad144c + c99e33b commit 5e462ee

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

include/swift/AST/RuntimeVersions.def

+4-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ RUNTIME_VERSION(
152152

153153
RUNTIME_VERSION(
154154
(6, 1),
155-
FUTURE
155+
PLATFORM(macOS, (15, 4, 0))
156+
PLATFORM(iOS, (18, 4, 0))
157+
PLATFORM(watchOS, (11, 4, 0))
158+
PLATFORM(xrOS, (2, 4, 0))
156159
)
157160

158161
END_MAJOR_VERSION(6)

utils/availability-macros.def

+4-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ SwiftStdlib 5.8:macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4
3636
SwiftStdlib 5.9:macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0
3737
SwiftStdlib 5.10:macOS 14.4, iOS 17.4, watchOS 10.4, tvOS 17.4, visionOS 1.1
3838
SwiftStdlib 6.0:macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0
39-
SwiftStdlib 6.1:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999
40-
# TODO: Also update ASTContext::getSwift510Availability when needed
41-
# TODO: Also update ASTContext::getSwift60Availability when needed
39+
SwiftStdlib 6.1:macOS 15.4, iOS 18.4, watchOS 11.4, tvOS 18.4, visionOS 2.4
40+
41+
# TODO: When you add a new version, remember to tell the compiler about it
42+
# by also adding it to include/swift/AST/RuntimeVersions.def.
4243

4344
# Local Variables:
4445
# mode: conf-unix

0 commit comments

Comments
 (0)