swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.37k stars 10.34k forks source link

[Concurrency] Include more pieces of Concurrency in Embedded (AsyncStream, continuations) #76760

Open kubamracek opened 1 day ago

kubamracek commented 1 day ago

We have been only including a subset of files and functionality on Embedded Concurrency, let's instead include all the source files, and have a fine grained opt out on things that don't yet work. Namely, this is still avoiding clocks, task sleeping, main actor and custom executors.

Add a test for AsyncStream and continuations on Embedded Concurrency.

This is building on top https://github.com/swiftlang/swift/pull/76483/, for review you want to only look at the last commit.

Enables:

Left as follow-up: