Skip to content

Commit 208c268

Browse files
committed
Add flags back to stdlib
1 parent c1bb143 commit 208c268

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Runtimes/Core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ add_compile_options(
190190
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature FreestandingMacros>"
191191
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature BitwiseCopyable>"
192192
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature Extern>"
193+
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature ValueGenerics>"
193194
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature AddressableParameters>"
194195
# TODO: we should reevaluate if it still makes sense to restrict this
195196
# to Darwin, https://github.com/swiftlang/swift/issues/79279

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "Macros")
319319
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "FreestandingMacros")
320320
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "Extern")
321321
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "BitwiseCopyable")
322+
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "ValueGenerics")
322323
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "AddressableParameters")
323324
list(APPEND swift_stdlib_compile_flags "-enable-experimental-feature" "AddressableTypes")
324325
list(APPEND swift_stdlib_compile_flags "-strict-memory-safety")

0 commit comments

Comments
 (0)