Skip to content

Commit 6ff951f

Browse files
authored
Merge pull request swiftlang#79419 from tshortli/reenable-span-in-cxx
CMake: Bring back -enable-experimental-feature Span
2 parents d11f7c9 + eb75c0c commit 6ff951f

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)