File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -655,6 +655,10 @@ option(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION
655655 "Enable build of the Swift observation module"
656656 FALSE )
657657
658+ option (SWIFT_STDLIB_ENABLE_STRICT_CONCURRENCY_COMPLETE
659+ "Build the stdlib with -strict-concurrency=complete"
660+ FALSE )
661+
658662option (SWIFT_ENABLE_SYNCHRONIZATION
659663 "Enable build of the Swift Synchronization module"
660664 FALSE )
Original file line number Diff line number Diff line change @@ -613,6 +613,10 @@ function(_compile_swift_files
613613 list (APPEND swift_flags "-Xfrontend" "-disable-round-trip-debug-types" ) # NOTE: temporary until we fix mangling!
614614 endif ()
615615
616+ if (SWIFT_STDLIB_ENABLE_STRICT_CONCURRENCY_COMPLETE)
617+ list (APPEND swift_flags "-strict-concurrency=complete" )
618+ endif ()
619+
616620 if (SWIFT_STDLIB_USE_RELATIVE_PROTOCOL_WITNESS_TABLES)
617621 list (APPEND swift_flags "-Xfrontend" "-enable-relative-protocol-witness-tables" )
618622 list (APPEND swift_flags "-Xfrontend" "-swift-async-frame-pointer=never" )
You can’t perform that action at this time.
0 commit comments