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 @@ -776,6 +776,10 @@ option(SWIFT_STDLIB_ENABLE_STRICT_CONCURRENCY_COMPLETE
776776 "Build the stdlib with -strict-concurrency=complete"
777777 FALSE )
778778
779+ option (SWIFT_STDLIB_ENABLE_SIL_OPAQUE_VALUES
780+ "Build the stdlib with -enable-sil-opaque-values"
781+ FALSE )
782+
779783option (SWIFT_ENABLE_SYNCHRONIZATION
780784 "Enable build of the Swift Synchronization module"
781785 FALSE )
Original file line number Diff line number Diff line change @@ -647,6 +647,10 @@ function(_compile_swift_files
647647 list (APPEND swift_flags "-strict-concurrency=complete" )
648648 endif ()
649649
650+ if (SWIFT_STDLIB_ENABLE_SIL_OPAQUE_VALUES)
651+ list (APPEND swift_flags "-Xfrontend" "-enable-sil-opaque-values" )
652+ endif ()
653+
650654 if (SWIFT_STDLIB_USE_RELATIVE_PROTOCOL_WITNESS_TABLES)
651655 list (APPEND swift_flags "-Xfrontend" "-enable-relative-protocol-witness-tables" )
652656 list (APPEND swift_flags "-Xfrontend" "-swift-async-frame-pointer=never" )
You can’t perform that action at this time.
0 commit comments