Skip to content

Commit b56e74e

Browse files
Merge pull request swiftlang#8209 from aschwaighofer/build-script-impl-add-swift-enable-cow-existentials
Add a build-script flag for enabling copy-on-write existentials
2 parents 9ad340e + ae1dcf9 commit b56e74e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-script-impl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ KNOWN_SETTINGS=(
253253
coverage-db "" "If set, coverage database to use when prioritizing testing"
254254
build-toolchain-only "" "If set, only build the necessary tools to build an external toolchain"
255255
skip-local-host-install "" "If we are cross-compiling multiple targets, skip an install pass locally if the hosts match"
256+
swift-runtime-enable-cow-existentials "0" "Enable the copy-on-write existential implementation"
256257
)
257258

258259
# Centralized access point for traced command invocation.
@@ -2116,6 +2117,7 @@ for host in "${ALL_HOSTS[@]}"; do
21162117
-DSWIFT_STDLIB_BUILD_TYPE:STRING="${SWIFT_STDLIB_BUILD_TYPE}"
21172118
-DSWIFT_STDLIB_ASSERTIONS:BOOL=$(true_false "${SWIFT_STDLIB_ENABLE_ASSERTIONS}")
21182119
-DSWIFT_STDLIB_ENABLE_RESILIENCE:BOOL=$(true_false "${SWIFT_STDLIB_ENABLE_RESILIENCE}")
2120+
-DSWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS:BOOL=$(true_false "${SWIFT_RUNTIME_ENABLE_COW_EXISTENTIALS}")
21192121
-DSWIFT_STDLIB_USE_NONATOMIC_RC:BOOL=$(true_false "${SWIFT_STDLIB_USE_NONATOMIC_RC}")
21202122
-DSWIFT_STDLIB_SIL_SERIALIZE_ALL:BOOL=$(true_false "${SWIFT_STDLIB_SIL_SERIALIZE_ALL}")
21212123
-DSWIFT_NATIVE_LLVM_TOOLS_PATH:STRING="${native_llvm_tools_path}"

0 commit comments

Comments
 (0)