mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] Add an option SWIFT_STDLIB_ENABLE_STRICT_CONCURRENCY_COMPLETE to enable building the stdlib with strict-concurrency=complete.
It is currently by default off.
This commit is contained in:
@@ -613,6 +613,10 @@ function(_compile_swift_files
|
||||
list(APPEND swift_flags "-Xfrontend" "-disable-round-trip-debug-types") # NOTE: temporary until we fix mangling!
|
||||
endif()
|
||||
|
||||
if (SWIFT_STDLIB_ENABLE_STRICT_CONCURRENCY_COMPLETE)
|
||||
list(APPEND swift_flags "-strict-concurrency=complete")
|
||||
endif()
|
||||
|
||||
if (SWIFT_STDLIB_USE_RELATIVE_PROTOCOL_WITNESS_TABLES)
|
||||
list(APPEND swift_flags "-Xfrontend" "-enable-relative-protocol-witness-tables")
|
||||
list(APPEND swift_flags "-Xfrontend" "-swift-async-frame-pointer=never")
|
||||
|
||||
Reference in New Issue
Block a user