File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1265,6 +1265,7 @@ else()
1265
1265
1266
1266
if (SWIFT_BUILD_STDLIB_EXTRA_TOOLCHAIN_CONTENT )
1267
1267
add_subdirectory (stdlib/toolchain )
1268
+ add_subdirectory (stdlib/public/Cxx )
1268
1269
endif ()
1269
1270
1270
1271
if (BUILD_SWIFT_CONCURRENCY_BACK_DEPLOYMENT_LIBRARIES )
Original file line number Diff line number Diff line change @@ -1678,6 +1678,7 @@ function(add_swift_target_library name)
1678
1678
IS_SDK_OVERLAY
1679
1679
IS_STDLIB
1680
1680
IS_STDLIB_CORE
1681
+ IS_SWIFT_ONLY
1681
1682
NOSWIFTRT
1682
1683
OBJECT_LIBRARY
1683
1684
SHARED
@@ -1814,7 +1815,7 @@ function(add_swift_target_library name)
1814
1815
endif ()
1815
1816
1816
1817
if (NOT SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER AND NOT BUILD_STANDALONE AND
1817
- NOT SWIFT_PREBUILT_CLANG )
1818
+ NOT SWIFT_PREBUILT_CLANG AND NOT SWIFTLIB_IS_SWIFT_ONLY )
1818
1819
list (APPEND SWIFTLIB_DEPENDS clang )
1819
1820
endif ()
1820
1821
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ if("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "WINDOWS")
3
3
set (SWIFT_CXX_LIBRARY_KIND SHARED )
4
4
endif ()
5
5
6
- add_swift_target_library (swiftCxx ${SWIFT_CXX_LIBRARY_KIND} NO_LINK_NAME IS_STDLIB
6
+ add_swift_target_library (swiftCxx ${SWIFT_CXX_LIBRARY_KIND} NO_LINK_NAME IS_STDLIB IS_SWIFT_ONLY
7
7
CxxConvertibleToCollection.swift
8
8
CxxDictionary.swift
9
9
CxxPair.swift
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ add_dependencies(sdk-overlay libstdcxx-modulemap)
127
127
#
128
128
# C++ Standard Library Overlay.
129
129
#
130
- add_swift_target_library (swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB
130
+ add_swift_target_library (swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_ONLY
131
131
std.swift
132
132
String .swift
133
133
You can’t perform that action at this time.
0 commit comments