mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user