Skip to content

[stdlib] Define and bump to version 5.9 #63046

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 1 commit into from
Jan 16, 2023
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
11 changes: 7 additions & 4 deletions stdlib/public/core/Availability.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,17 @@ extension _SwiftStdlibVersion {
@_alwaysEmitIntoClient
public static var v5_7_0: Self { Self(_value: 0x050700) }

// Note: As of now, there is no bincompat level defined for v5.8. If you need
// to use this in a call to `_isExecutableLinkedOnOrAfter`, then you'll need
// to define this version in the runtime.
// Note: As of now, there is no bincompat level defined for the versions
// below. If you need to use one of these in a call to
// `_isExecutableLinkedOnOrAfter`, then you'll need to define the
// corresponding version in the runtime.
@_alwaysEmitIntoClient
public static var v5_8_0: Self { Self(_value: 0x050800) }
@_alwaysEmitIntoClient
public static var v5_9_0: Self { Self(_value: 0x050900) }

@available(SwiftStdlib 5.7, *)
public static var current: Self { .v5_8_0 }
public static var current: Self { .v5_9_0 }
}

@available(SwiftStdlib 5.7, *)
Expand Down
1 change: 1 addition & 0 deletions utils/availability-macros.def
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SwiftStdlib 5.5:macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0
SwiftStdlib 5.6:macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4
SwiftStdlib 5.7:macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0
SwiftStdlib 5.8:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
SwiftStdlib 5.9:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999

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