Skip to content

Commit 1982d02

Browse files
authored
Merge pull request #20029 from gottesmm/pr-506348ffb0e1e7faa5c2f1796a9ff5c387319abd
[sil-ownership] Enable ownership verification on all of the stdlib li…
2 parents ffbe663 + b36c6e5 commit 1982d02

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function(_compile_swift_files
241241
list(APPEND swift_flags "-Xfrontend" "-assume-single-threaded")
242242
endif()
243243

244-
if(SWIFT_STDLIB_ENABLE_SIL_OWNERSHIP AND SWIFTFILE_IS_STDLIB)
244+
if(SWIFTFILE_IS_STDLIB)
245245
list(APPEND swift_flags "-Xfrontend" "-enable-sil-ownership")
246246
endif()
247247

stdlib/public/core/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ endif()
258258

259259
list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-inline-generics")
260260
list(APPEND swift_stdlib_compile_flags "-Xllvm" "-sil-partial-specialization")
261-
list(APPEND swift_stdlib_compile_flags "-Xfrontend" "-enable-sil-ownership")
262261
if(SWIFT_STDLIB_ENABLE_STDLIBCORE_EXCLUSIVITY_CHECKING)
263262
list(APPEND swift_stdlib_compile_flags "-enforce-exclusivity=checked")
264263
endif()

0 commit comments

Comments
 (0)