Skip to content

Commit 2186a9a

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

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 0 additions & 2 deletions
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,
@@ -168,7 +167,6 @@ extension Job {
168167
_swiftJobRun(UnownedJob(self), executor)
169168
}
170169
}
171-
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
172170

173171
// ==== -----------------------------------------------------------------------
174172
// MARK: JobPriority

0 commit comments

Comments
 (0)