Skip to content

Commit d5f7f6f

Browse files
authored
Merge pull request #77927 from swiftlang/egorzhdan/bring-back-overlay-flag
[cxx-interop] Bring back `AssumeResilientCxxTypes` flag for CxxStdlib overlay
2 parents ed5007f + b6488d3 commit d5f7f6f

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)