Skip to content

[5.6][stdlib] Define platform version numbers for SwiftStdlib 5.6 #41049

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
Mar 4, 2022
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
2 changes: 1 addition & 1 deletion stdlib/public/core/TemporaryAllocation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ internal func _isStackAllocationSafe(byteCount: Int, alignment: Int) -> Bool {

// Finally, take a slow path through the standard library to see if the
// current environment can accept a larger stack allocation.
guard #available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) //SwiftStdlib 5.6
guard #available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *) //SwiftStdlib 5.6
else {
return false
}
Expand Down
3 changes: 1 addition & 2 deletions test/api-digester/Outputs/cake-abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1846,8 +1846,7 @@
"name": "CodingKeyRepresentable",
"printedName": "CodingKeyRepresentable",
"usr": "s:s22CodingKeyRepresentableP",
"mangledName": "$ss22CodingKeyRepresentableP",
"isABIPlaceholder": true
"mangledName": "$ss22CodingKeyRepresentableP"
},
{
"kind": "Conformance",
Expand Down
3 changes: 1 addition & 2 deletions test/api-digester/Outputs/cake.json
Original file line number Diff line number Diff line change
Expand Up @@ -1713,8 +1713,7 @@
"name": "CodingKeyRepresentable",
"printedName": "CodingKeyRepresentable",
"usr": "s:s22CodingKeyRepresentableP",
"mangledName": "$ss22CodingKeyRepresentableP",
"isABIPlaceholder": true
"mangledName": "$ss22CodingKeyRepresentableP"
},
{
"kind": "Conformance",
Expand Down
2 changes: 1 addition & 1 deletion utils/availability-macros.def
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SwiftStdlib 5.2:macOS 10.15.4, iOS 13.4, watchOS 6.2, tvOS 13.4
SwiftStdlib 5.3:macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0
SwiftStdlib 5.4:macOS 11.3, iOS 14.5, watchOS 7.4, tvOS 14.5
SwiftStdlib 5.5:macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0
SwiftStdlib 5.6:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
SwiftStdlib 5.6:macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4

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