Skip to content

Commit b661ff8

Browse files
committed
[concurrency] fix availability of new Clock symbols
1 parent 39a36d9 commit b661ff8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

stdlib/public/Concurrency/Clock.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public protocol Clock<Duration>: Sendable {
5050
/// - at instant: The time at which we would like it to run.
5151
/// - tolerance: The ideal maximum delay we are willing to tolerate.
5252
///
53-
@available(StdlibDeploymentTarget 6.2, *)
53+
@available(StdlibDeploymentTarget 6.3, *)
5454
func run(_ job: consuming ExecutorJob,
5555
at instant: Instant, tolerance: Duration?)
5656

@@ -70,7 +70,7 @@ public protocol Clock<Duration>: Sendable {
7070
/// - at instant: The time at which we would like it to run.
7171
/// - tolerance: The ideal maximum delay we are willing to tolerate.
7272
///
73-
@available(StdlibDeploymentTarget 6.2, *)
73+
@available(StdlibDeploymentTarget 6.3, *)
7474
func enqueue(_ job: consuming ExecutorJob,
7575
on executor: some Executor,
7676
at instant: Instant, tolerance: Duration?)
@@ -81,7 +81,7 @@ public protocol Clock<Duration>: Sendable {
8181
extension Clock {
8282
// The default implementation works by creating a trampoline and calling
8383
// the run() method.
84-
@available(StdlibDeploymentTarget 6.2, *)
84+
@available(StdlibDeploymentTarget 6.3, *)
8585
public func enqueue(_ job: consuming ExecutorJob,
8686
on executor: some Executor,
8787
at instant: Instant, tolerance: Duration?) {
@@ -91,7 +91,7 @@ extension Clock {
9191

9292
// Clocks that do not implement run will fatalError() if you try to use
9393
// them with an executor that does not understand them.
94-
@available(StdlibDeploymentTarget 6.2, *)
94+
@available(StdlibDeploymentTarget 6.3, *)
9595
public func run(_ job: consuming ExecutorJob,
9696
at instant: Instant, tolerance: Duration?) {
9797
fatalError("\(Self.self) does not implement run(_:at:tolerance:).")

stdlib/public/Concurrency/ContinuousClock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ extension ContinuousClock.Instant: InstantProtocol {
213213
}
214214

215215
#if !$Embedded && !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
216-
@available(StdlibDeploymentTarget 6.2, *)
216+
@available(StdlibDeploymentTarget 6.3, *)
217217
extension ContinuousClock {
218218

219219
public func run(_ job: consuming ExecutorJob,

stdlib/public/Concurrency/SuspendingClock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ extension SuspendingClock.Instant: InstantProtocol {
191191
}
192192

193193
#if !$Embedded && !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
194-
@available(StdlibDeploymentTarget 6.2, *)
194+
@available(StdlibDeploymentTarget 6.3, *)
195195
extension SuspendingClock {
196196

197197
public func run(_ job: consuming ExecutorJob,

0 commit comments

Comments
 (0)