Skip to content

Commit 48cc19a

Browse files
committed
[cxx-interop] Bring back AssumeResilientCxxTypes flag for CxxStdlib overlay
This fixes a CI job that is building the Swift stdlib with a recent nightly compiler. rdar://140850172 (cherry picked from commit b6488d3)
1 parent bcaf4a2 commit 48cc19a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/Cxx/std/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O
5151
-cxx-interoperability-mode=default
5252
-Xfrontend -module-interface-preserve-types-as-written
5353

54+
# This flag is unnecessary when building with newer compilers that allow
55+
# using C++ symbols in resilient overlays (see f4204568).
56+
-enable-experimental-feature AssumeResilientCxxTypes
57+
5458
SWIFT_COMPILE_FLAGS_LINUX
5559
${SWIFT_SDK_LINUX_CXX_OVERLAY_SWIFT_COMPILE_FLAGS}
5660

0 commit comments

Comments
 (0)