Skip to content

Commit 5480577

Browse files
authored
Merge pull request #59620 from apple/bump-version-availability-5.7
Update the SwiftStdlib 5.7 availability
2 parents 9b8d00a + 475ed80 commit 5480577

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/public/core/ContiguousArrayBuffer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func getContiguousArrayStorageType<Element>(
265265
) -> _ContiguousArrayStorage<Element>.Type {
266266
// We can only reset the type metadata to the correct metadata when bridging
267267
// on the current OS going forward.
268-
if #available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) {
268+
if #available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *) { // SwiftStdlib 5.7
269269
if Element.self is AnyObject.Type {
270270
return _uncheckedUnsafeBitCast(
271271
_ContiguousArrayStorage<AnyObject>.self,

utils/availability-macros.def

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SwiftStdlib 5.3:macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0
3131
SwiftStdlib 5.4:macOS 11.3, iOS 14.5, watchOS 7.4, tvOS 14.5
3232
SwiftStdlib 5.5:macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0
3333
SwiftStdlib 5.6:macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4
34-
SwiftStdlib 5.7:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
34+
SwiftStdlib 5.7:macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0
3535
SwiftStdlib 5.8:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
3636

3737
# Local Variables:

0 commit comments

Comments
 (0)