swift
958b8738 - Separate CMake option for "build concurrency lib" and "import concurrency lib"

Commit
4 years ago
Separate CMake option for "build concurrency lib" and "import concurrency lib" The CMake option `SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY` was originally meant to imply that we should build the _Concurrency module, which it still does. However, to support minimal stdlib builds, it also became a way to configure the compiler to avoid implicitly importing the _Concurrency module. However, we build configurations of Swift where we want the implicit import but don't want to build the _Concurrency library. Use a new, different option (`SWIFT_IMPLICIT_CONCURRENCY_IMPORT`) for the "implicit import" behavior within the compiler, which defaults to "true", and disable that for minimal stdlib builds. Fixes rdar://78544947. (cherry picked from commit 4c1c8ede220df96513072bd6ddf36c987d4ff538)
Author
Committer
Parents
Loading