File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
stdlib/public/RegexParser Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ foreach(source ${_MATCHING_ENGINE_SOURCES})
22
22
endforeach ()
23
23
message (STATUS "Using Experimental String Processing library for _RegexParser (${EXPERIMENTAL_STRING_PROCESSING_SOURCE_DIR} )." )
24
24
25
+ set (SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS_NO_RESILIENCE )
26
+ string (REGEX REPLACE "-enable-library-evolution" ""
27
+ SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS_NO_RESILIENCE
28
+ "${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS} " )
29
+
25
30
add_swift_target_library (swift_RegexParser ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} IS_STDLIB
26
31
"${MATCHING_ENGINE_SOURCES} "
27
32
@@ -37,7 +42,7 @@ add_swift_target_library(swift_RegexParser ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} I
37
42
C_COMPILE_FLAGS
38
43
-Dswift_RegexParser_EXPORTS
39
44
SWIFT_COMPILE_FLAGS
40
- ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS }
45
+ ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS_NO_RESILIENCE }
41
46
# Workaround until `_RegexParser` is imported as implementation-only
42
47
# by `_StringProcessing`.
43
48
-Xfrontend -disable-implicit-string-processing-module-import
You can’t perform that action at this time.
0 commit comments