Skip to content

Commit c574550

Browse files
committed
[Freestanding] Removed bridging intrinsic.
1 parent c9d86ee commit c574550

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ extension Task where Failure == Error {
10241024

10251025
#if _runtime(_ObjC)
10261026

1027+
#if !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
10271028
/// Intrinsic used by SILGen to launch a task for bridging a Swift async method
10281029
/// which was called through its ObjC-exported completion-handler-based API.
10291030
@available(SwiftStdlib 5.1, *)
@@ -1039,5 +1040,6 @@ internal func _runTaskForBridgedAsyncMethod(@_inheritActorContext _ body: __owne
10391040
}
10401041
#endif
10411042
}
1043+
#endif
10421044

10431045
#endif

0 commit comments

Comments
 (0)