@@ -120,7 +120,7 @@ public protocol SerialExecutor: Executor {
120120///
121121/// Unstructured tasks do not inherit the task executor.
122122@_unavailableInEmbedded
123- @available ( SwiftStdlib 9999 , * )
123+ @available ( SwiftStdlib 6 . 0 , * )
124124public protocol TaskExecutor : Executor {
125125 // This requirement is repeated here as a non-override so that we
126126 // get a redundant witness-table entry for it. This allows us to
@@ -152,7 +152,7 @@ public protocol TaskExecutor: Executor {
152152}
153153
154154@_unavailableInEmbedded
155- @available ( SwiftStdlib 9999 , * )
155+ @available ( SwiftStdlib 6 . 0 , * )
156156extension TaskExecutor {
157157 public func asUnownedTaskExecutor( ) -> UnownedTaskExecutor {
158158 UnownedTaskExecutor ( ordinary: self )
@@ -270,7 +270,7 @@ public struct UnownedSerialExecutor: Sendable {
270270
271271
272272@_unavailableInEmbedded
273- @available ( SwiftStdlib 9999 , * )
273+ @available ( SwiftStdlib 6 . 0 , * )
274274@frozen
275275public struct UnownedTaskExecutor : Sendable {
276276 #if $BuiltinExecutor
@@ -279,7 +279,7 @@ public struct UnownedTaskExecutor: Sendable {
279279
280280 /// SPI: Do not use. Cannot be marked @_spi, since we need to use it from Distributed module
281281 /// which needs to reach for this from an @_transparent function which prevents @_spi use.
282- @available ( SwiftStdlib 9999 , * )
282+ @available ( SwiftStdlib 6 . 0 , * )
283283 public var _executor : Builtin . Executor {
284284 self . executor
285285 }
@@ -303,7 +303,7 @@ public struct UnownedTaskExecutor: Sendable {
303303}
304304
305305@_unavailableInEmbedded
306- @available ( SwiftStdlib 9999 , * )
306+ @available ( SwiftStdlib 6 . 0 , * )
307307extension UnownedTaskExecutor : Equatable {
308308 @inlinable
309309 public static func == ( _ lhs: UnownedTaskExecutor , _ rhs: UnownedTaskExecutor ) -> Bool {
@@ -373,7 +373,7 @@ internal func _task_serialExecutor_getExecutorRef<E>(_ executor: E) -> Builtin.E
373373/// Obtain the executor ref by calling the executor's `asUnownedTaskExecutor()`.
374374/// The obtained executor ref will have all the user-defined flags set on the executor.
375375@_unavailableInEmbedded
376- @available ( SwiftStdlib 9999 , * )
376+ @available ( SwiftStdlib 6 . 0 , * )
377377@_silgen_name ( " _task_executor_getTaskExecutorRef " )
378378internal func _task_executor_getTaskExecutorRef( _ taskExecutor: any TaskExecutor ) -> Builtin . Executor {
379379 return taskExecutor. asUnownedTaskExecutor ( ) . executor
@@ -396,7 +396,7 @@ where E: SerialExecutor {
396396}
397397
398398@_unavailableInEmbedded
399- @available ( SwiftStdlib 9999 , * )
399+ @available ( SwiftStdlib 6 . 0 , * )
400400@_silgen_name ( " _swift_task_enqueueOnTaskExecutor " )
401401internal func _enqueueOnTaskExecutor< E> ( job unownedJob: UnownedJob , executor: E ) where E: TaskExecutor {
402402 #if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
0 commit comments