Remove build infrastructure for globally enabling noncopyable types

Now that the compilation model of noncopyable types is enabled everywhere,
and one can enable the feature for specific modules, we no longer need a
separate build-script/CMake option to enable it globally. Remove it all.
This commit is contained in:
Doug Gregor
2024-03-19 13:25:29 -07:00
parent 56d207ab1a
commit 922e3daaea
13 changed files with 1 additions and 60 deletions

View File

@@ -612,9 +612,7 @@ function(_compile_swift_files
list(APPEND swift_flags "-experimental-hermetic-seal-at-link")
endif()
if(SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS OR SWIFT_STDLIB_EXPERIMENTAL_NONCOPYABLE_GENERICS)
list(APPEND swift_flags "-enable-experimental-feature" "NoncopyableGenerics")
endif()
list(APPEND swift_flags "-enable-experimental-feature" "NoncopyableGenerics")
if(SWIFT_ENABLE_EXPERIMENTAL_NONESCAPABLE_TYPES)
list(APPEND swift_flags "-enable-experimental-feature" "NonescapableTypes")