Skip to content

Commit 09b1476

Browse files
committed
Stop building Reflection
1 parent ad24fe1 commit 09b1476

File tree

17 files changed

+0
-86
lines changed

17 files changed

+0
-86
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,6 @@ option(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING
614614
"Enable experimental string processing"
615615
FALSE)
616616

617-
option(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION
618-
"Enable build of the Swift reflection module"
619-
FALSE)
620-
621617
option(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION
622618
"Enable build of the Swift observation module"
623619
FALSE)
@@ -1180,7 +1176,6 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_SDK_OVERLAY)
11801176
message(STATUS "String Processing Support: ${SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING}")
11811177
message(STATUS "Backtracing Support: ${SWIFT_ENABLE_BACKTRACING}")
11821178
message(STATUS "Unicode Support: ${SWIFT_STDLIB_ENABLE_UNICODE_DATA}")
1183-
message(STATUS "Reflection Support: ${SWIFT_ENABLE_EXPERIMENTAL_REFLECTION}")
11841179
message(STATUS "Observation Support: ${SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION}")
11851180
message(STATUS "")
11861181
else()

stdlib/cmake/modules/SwiftSource.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,6 @@ function(_add_target_variant_swift_compile_flags
295295
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING")
296296
endif()
297297

298-
if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
299-
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_REFLECTION")
300-
endif()
301-
302298
if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
303299
list(APPEND result "-D" "SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION")
304300
endif()

stdlib/public/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ if(SWIFT_BUILD_STDLIB)
151151
add_subdirectory(RegexBuilder)
152152
endif()
153153

154-
if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
155-
add_subdirectory(Reflection)
156-
endif()
157-
158154
if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
159155
add_subdirectory(Observation)
160156
endif()

stdlib/public/SwiftShims/swift/shims/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ set(sources
2525
_SwiftBacktracing.h
2626
_SwiftConcurrency.h
2727
_SwiftDistributed.h
28-
_SwiftRuntime.h
2928

3029
module.modulemap
3130
)

stdlib/public/SwiftShims/swift/shims/_SwiftRuntime.h

Lines changed: 0 additions & 22 deletions
This file was deleted.

stdlib/public/SwiftShims/swift/shims/module.modulemap

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,3 @@ module SwiftOverlayShims {
3434
header "LibcOverlayShims.h"
3535
export *
3636
}
37-
38-
module _SwiftRuntimeShims {
39-
header "_SwiftRuntime.h"
40-
export *
41-
}

test/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY)
189189
normalize_boolean_spelling(SWIFT_BACK_DEPLOY_CONCURRENCY)
190190
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED)
191191
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING)
192-
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
193192
normalize_boolean_spelling(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
194193
normalize_boolean_spelling(SWIFT_ENABLE_MACCATALYST)
195194
normalize_boolean_spelling(SWIFT_RUN_TESTS_WITH_HOST_COMPILER)
@@ -395,10 +394,6 @@ foreach(SDK ${SWIFT_SDKS})
395394
list(APPEND LIT_ARGS "--param" "backtracing")
396395
endif()
397396

398-
if(SWIFT_ENABLE_EXPERIMENTAL_REFLECTION)
399-
list(APPEND LIT_ARGS "--param" "reflection")
400-
endif()
401-
402397
if(SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION)
403398
list(APPEND LIT_ARGS "--param" "observation")
404399
endif()

test/lit.site.cfg.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ if "@SWIFT_STDLIB_ENABLE_UNICODE_DATA" == "TRUE":
140140
config.available_features.add('stdlib_unicode_data')
141141
if "@SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING@" == "TRUE":
142142
config.available_features.add('string_processing')
143-
if "@SWIFT_ENABLE_EXPERIMENTAL_REFLECTION@" == "TRUE":
144-
config.available_features.add('reflection_runtime')
145143
if "@SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION@" == "TRUE":
146144
config.available_features.add('observation')
147145
if "@SWIFT_STDLIB_ENABLE_DEBUG_PRECONDITIONS_IN_RELEASE@" == "TRUE":

utils/build-presets.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2560,7 +2560,6 @@ enable-experimental-differentiable-programming=0
25602560
swift-enable-experimental-string-processing=0
25612561
enable-experimental-concurrency=1
25622562
enable-experimental-distributed=0
2563-
enable-experimental-reflection=0
25642563
enable-experimental-observation=0
25652564
build-swift-dynamic-sdk-overlay=0
25662565
build-swift-dynamic-stdlib=0
@@ -2676,7 +2675,6 @@ build-subdir=stdlib_S_standalone_darwin
26762675
enable-experimental-differentiable-programming=0
26772676
enable-experimental-concurrency=0
26782677
enable-experimental-distributed=0
2679-
enable-experimental-reflection=0
26802678
enable-experimental-observation=0
26812679

26822680
stdlib-deployment-targets=freestanding-x86_64

utils/build-windows-toolchain.bat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ cmake ^
215215
-D SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED=YES ^
216216
-D SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES ^
217217
-D SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING=YES ^
218-
-D SWIFT_ENABLE_EXPERIMENTAL_REFLECTION=YES ^
219218
-D SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION=YES ^
220219

221220
-D LLVM_EXTERNAL_SWIFT_SOURCE_DIR="%SourceRoot%\swift" ^
@@ -258,7 +257,6 @@ cmake ^
258257
-D SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED=YES ^
259258
-D SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=YES ^
260259
-D SWIFT_ENABLE_EXPERIMENTAL_STRING_PROCESSING=YES ^
261-
-D SWIFT_ENABLE_EXPERIMENTAL_REFLECTION=YES ^
262260
-D SWIFT_ENABLE_EXPERIMENTAL_OBSERVATION=YES ^
263261

264262
-G Ninja ^

0 commit comments

Comments
 (0)