Skip to content

Commit b887def

Browse files
committed
[stdlib] Only emit lexical markers.
Don't use lexical lifetimes fully in the stdlib for now.
1 parent e31c155 commit b887def

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/cmake/modules/AddSwiftStdlib.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,6 +1713,7 @@ function(add_swift_target_library name)
17131713
if (SWIFTLIB_IS_STDLIB)
17141714
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-warn-implicit-overrides")
17151715
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-Xfrontend;-enable-ossa-modules")
1716+
list(APPEND SWIFTLIB_SWIFT_COMPILE_FLAGS "-Xfrontend;-enable-lexical-lifetimes=false")
17161717
endif()
17171718

17181719
if(NOT SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER AND NOT BUILD_STANDALONE AND

0 commit comments

Comments
 (0)