Skip to content

Commit 27f13c3

Browse files
committed
expose the noncopyable Job type in task-to-thread build configurations
part of resolving rdar://106849189
1 parent 2be061c commit 27f13c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ extension UnownedJob: CustomStringConvertible {
104104
}
105105
}
106106

107-
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
108107
/// A unit of scheduleable work.
109108
///
110109
/// Unless you're implementing a scheduler,
@@ -144,6 +143,7 @@ public struct Job: Sendable {
144143
}
145144
}
146145

146+
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
147147
@available(SwiftStdlib 5.9, *)
148148
extension Job {
149149

0 commit comments

Comments
 (0)