Skip to content

Commit 96e9945

Browse files
committed
[stdlib] only enable “AddressableTypes” for the core stdlib
1 parent 3d6070d commit 96e9945

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Runtimes/Core/cmake/modules/ExperimentalFeatures.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ add_compile_options(
1010
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature FreestandingMacros>"
1111
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature BitwiseCopyable>"
1212
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature Extern>"
13-
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature ValueGenerics>"
14-
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature AddressableParameters>")
13+
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature ValueGenerics>")

Runtimes/Core/core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ target_compile_options(swiftCore PRIVATE
277277
# STAGING: Temporarily avoids having to write #fileID in Swift.swiftinterface.
278278
# see also 327ea8bce2d1107a847d444651b19ca6a2901c9e
279279
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xfrontend -enable-experimental-concise-pound-file>"
280+
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature AddressableParameters>"
281+
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-enable-experimental-feature AddressableTypes>"
280282
$<$<COMPILE_LANGUAGE:Swift>:-parse-stdlib>
281283
$<$<COMPILE_LANGUAGE:Swift>:-nostdimport>
282284
$<$<COMPILE_LANGUAGE:Swift>:-explicit-module-build>

0 commit comments

Comments
 (0)