Skip to content

Commit de47a77

Browse files
authored
Merge pull request #58969 from lorentey/define-5.8-in-the-stdlib
[stdlib] Define version 5.8 of the stdlib
2 parents 55fb3d1 + 95dff4d commit de47a77

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

stdlib/public/core/Availability.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,14 @@ extension _SwiftStdlibVersion {
8888
@_alwaysEmitIntoClient
8989
public static var v5_7_0: Self { Self(_value: 0x050700) }
9090

91+
// Note: As of now, there is no bincompat level defined for v5.8. If you need
92+
// to use this in a call to `_isExecutableLinkedOnOrAfter`, then you'll need
93+
// to define this version in the runtime.
94+
@_alwaysEmitIntoClient
95+
public static var v5_8_0: Self { Self(_value: 0x050800) }
96+
9197
@available(SwiftStdlib 5.7, *)
92-
public static var current: Self { .v5_7_0 }
98+
public static var current: Self { .v5_8_0 }
9399
}
94100

95101
@available(SwiftStdlib 5.7, *)

utils/availability-macros.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ 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
3434
SwiftStdlib 5.7:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
35+
SwiftStdlib 5.8:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
3536

3637
# Local Variables:
3738
# mode: conf-unix

0 commit comments

Comments
 (0)