Skip to content

Commit b36c6e5

Browse files
committed
[sil-ownership] Enable ownership verification on all of the stdlib libraries.
rdar://29791263
1 parent f44973f commit b36c6e5

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)