File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ function(_compile_swift_files
229
229
# The standard library and overlays are always built resiliently.
230
230
if (SWIFTFILE_IS_STDLIB )
231
231
list (APPEND swift_flags "-enable-library-evolution" )
232
+ list (APPEND swift_flags "-Xfrontend" "-enable-ownership-stripping-after-serialization" )
232
233
endif ()
233
234
234
235
if (SWIFT_STDLIB_USE_NONATOMIC_RC )
Original file line number Diff line number Diff line change @@ -288,8 +288,6 @@ if(SWIFT_STDLIB_ENABLE_STDLIBCORE_EXCLUSIVITY_CHECKING)
288
288
list (APPEND swift_stdlib_compile_flags "-enforce-exclusivity=checked" )
289
289
endif ()
290
290
291
- list (APPEND swift_stdlib_compile_flags "-Xfrontend" "-enable-ownership-stripping-after-serialization" )
292
-
293
291
if (SWIFT_CHECK_ESSENTIAL_STDLIB )
294
292
add_swift_target_library (swift_stdlib_essential ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB IS_STDLIB_CORE
295
293
INSTALL_IN_COMPONENT never_install
You can’t perform that action at this time.
0 commit comments