Skip to content

Commit 63b752e

Browse files
authored
Merge pull request #41046 from lorentey/define-stdlib-version-5.7
[stdlib] Update platform versions for SwiftStdlib 5.6; define placeholders for SwiftStdlib 5.7
2 parents 2696df4 + f36a72e commit 63b752e

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ extension Task where Success == Never, Failure == Never {
301301
/// The current task's base priority.
302302
///
303303
/// If you access this property outside of any task, this returns nil
304-
@available(SwiftStdlib 9999, *)
304+
@available(SwiftStdlib 5.7, *)
305305
public static var basePriority: TaskPriority? {
306306
withUnsafeCurrentTask { task in
307307
// If we are running on behalf of a task, use that task's priority.

stdlib/public/core/TemporaryAllocation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ internal func _isStackAllocationSafe(byteCount: Int, alignment: Int) -> Bool {
9090

9191
// Finally, take a slow path through the standard library to see if the
9292
// current environment can accept a larger stack allocation.
93-
guard #available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *) //SwiftStdlib 5.6
93+
guard #available(macOS 12.3, iOS 15.4, watchOS 8.5, tvOS 15.4, *) //SwiftStdlib 5.6
9494
else {
9595
return false
9696
}

test/api-digester/Outputs/cake-abi.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,7 @@
18461846
"name": "CodingKeyRepresentable",
18471847
"printedName": "CodingKeyRepresentable",
18481848
"usr": "s:s22CodingKeyRepresentableP",
1849-
"mangledName": "$ss22CodingKeyRepresentableP",
1850-
"isABIPlaceholder": true
1849+
"mangledName": "$ss22CodingKeyRepresentableP"
18511850
},
18521851
{
18531852
"kind": "Conformance",

test/api-digester/Outputs/cake.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,8 +1713,7 @@
17131713
"name": "CodingKeyRepresentable",
17141714
"printedName": "CodingKeyRepresentable",
17151715
"usr": "s:s22CodingKeyRepresentableP",
1716-
"mangledName": "$ss22CodingKeyRepresentableP",
1717-
"isABIPlaceholder": true
1716+
"mangledName": "$ss22CodingKeyRepresentableP"
17181717
},
17191718
{
17201719
"kind": "Conformance",

utils/availability-macros.def

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ SwiftStdlib 5.2:macOS 10.15.4, iOS 13.4, watchOS 6.2, tvOS 13.4
3030
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
33-
SwiftStdlib 5.6:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999
33+
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
3435

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

0 commit comments

Comments
 (0)