Skip to content

Commit f1e14f8

Browse files
committed
[Concurrency] Mark extractIsolation as @_alwaysEmitIntoClient.
1 parent 755f260 commit f1e14f8

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

stdlib/public/Concurrency/Actor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public macro isolation<T>() -> T = Builtin.IsolationMacro
8686
#endif
8787

8888
#if $IsolatedAny
89+
@_alwaysEmitIntoClient
8990
@available(SwiftStdlib 5.1, *)
9091
public func extractIsolation<each Arg, Result>(
9192
_ fn: @escaping @isolated(any) (repeat each Arg) async throws -> Result

test/abi/macOS/arm64/concurrency.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,6 @@ Added: _$ss32AsyncThrowingPrefixWhileSequenceV8IteratorV4next9isolation7ElementQ
264264
// async function pointer to Swift.AsyncThrowingPrefixWhileSequence.Iterator.next(isolation: isolated Swift.Actor?) async throws -> A.Element?
265265
Added: _$ss32AsyncThrowingPrefixWhileSequenceV8IteratorV4next9isolation7ElementQzSgScA_pSgYi_tYaKFTu
266266

267-
// Swift.extractIsolation<each A, B>(@isolated(any) (repeat A) async throws -> B) -> Swift.Actor?
268-
Added: _$ss16extractIsolationyScA_pSgq_xxQpYaKYAcRvzr0_lF
269-
270267
Added: _swift_job_run_on_serial_and_task_executor
271268
Added: _swift_job_run_on_task_executor
272269
Added: _swift_task_getPreferredTaskExecutor

test/abi/macOS/x86_64/concurrency.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,6 @@ Added: _$ss32AsyncThrowingPrefixWhileSequenceV8IteratorV4next9isolation7ElementQ
264264
// async function pointer to Swift.AsyncThrowingPrefixWhileSequence.Iterator.next(isolation: isolated Swift.Actor?) async throws -> A.Element?
265265
Added: _$ss32AsyncThrowingPrefixWhileSequenceV8IteratorV4next9isolation7ElementQzSgScA_pSgYi_tYaKFTu
266266

267-
// Swift.extractIsolation<each A, B>(@isolated(any) (repeat A) async throws -> B) -> Swift.Actor?
268-
Added: _$ss16extractIsolationyScA_pSgq_xxQpYaKYAcRvzr0_lF
269-
270267
Added: _swift_job_run_on_serial_and_task_executor
271268
Added: _swift_job_run_on_task_executor
272269
Added: _swift_task_getPreferredTaskExecutor

0 commit comments

Comments
 (0)