Skip to content

Commit e43334a

Browse files
authored
Merge pull request swiftlang#10853 from gottesmm/enable_silownership_on_stdlibCore_by_default
[semantic-sil] Turn on sil ownership/the verifier by default on stdlibCore.
2 parents f6beec6 + 62ece7e commit e43334a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ endif()
226226

227227
list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-inline-generics")
228228
list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization")
229+
list(APPEND swift_stdlib_compile_flags "-Xfrontend" "-enable-sil-ownership")
229230

230231
if(SWIFT_CHECK_ESSENTIAL_STDLIB)
231232
add_swift_library(swift_stdlib_essential ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB IS_STDLIB_CORE

0 commit comments

Comments
 (0)