Skip to content

Commit 56dde70

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents 29ebf2e + 77d77c0 commit 56dde70

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ function(_compile_swift_files
229229
# The standard library and overlays are always built resiliently.
230230
if(SWIFTFILE_IS_STDLIB)
231231
list(APPEND swift_flags "-enable-library-evolution")
232+
list(APPEND swift_flags "-Xfrontend" "-enable-ownership-stripping-after-serialization")
232233
endif()
233234

234235
if(SWIFT_STDLIB_USE_NONATOMIC_RC)

stdlib/public/core/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ if(SWIFT_STDLIB_ENABLE_STDLIBCORE_EXCLUSIVITY_CHECKING)
288288
list(APPEND swift_stdlib_compile_flags "-enforce-exclusivity=checked")
289289
endif()
290290

291-
list(APPEND swift_stdlib_compile_flags "-Xfrontend" "-enable-ownership-stripping-after-serialization")
292-
293291
if(SWIFT_CHECK_ESSENTIAL_STDLIB)
294292
add_swift_target_library(swift_stdlib_essential ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB IS_STDLIB_CORE
295293
INSTALL_IN_COMPONENT never_install

0 commit comments

Comments
 (0)