Skip to content

Commit eb75c0c

Browse files
committed
CMake: Bring back -enable-experimental-feature Span.
Reenable it temporarily (until after 6.2 is released) for compatibility with older compilers.
1 parent 5eca0fd commit eb75c0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Cxx/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ add_swift_target_library(swiftCxx STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_ONLY
2121

2222
SWIFT_COMPILE_FLAGS ${SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS} ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
2323
-cxx-interoperability-mode=default
24+
-enable-experimental-feature Span
2425
-enable-experimental-feature BuiltinModule
2526
# This module should not pull in the C++ standard library, so we disable it explicitly.
2627
# For functionality that depends on the C++ stdlib, use C++ stdlib overlay (`swiftstd` module).

0 commit comments

Comments
 (0)