Skip to content

Commit b6488d3

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
1 parent ecf7ac9 commit b6488d3

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
@@ -56,6 +56,10 @@ add_swift_target_library(swiftCxxStdlib STATIC NO_LINK_NAME IS_STDLIB IS_SWIFT_O
5656
-cxx-interoperability-mode=default
5757
-Xfrontend -module-interface-preserve-types-as-written
5858

59+
# This flag is unnecessary when building with newer compilers that allow
60+
# using C++ symbols in resilient overlays (see f4204568).
61+
-enable-experimental-feature AssumeResilientCxxTypes
62+
5963
# The varying modularization of the C++ standard library on different
6064
# platforms makes it difficult to enable MemberImportVisibility for this
6165
# module

0 commit comments

Comments
 (0)