Skip to content

Commit 034d14e

Browse files
committed
Build _RegexParser without implicit import of _StringProcessing
Explicitly ask the compiler not to implicitly import _StringProessing. This is to avoid a circular dependency when `-enable-experimental-string-processing` is enabled by default.
1 parent c13980f commit 034d14e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ let package = Package(
3838
dependencies: [],
3939
swiftSettings: [
4040
.unsafeFlags(["-enable-library-evolution"]),
41+
.unsafeFlags(["-Xfrontend", "-disable-implicit-string-processing-module-import"]),
4142
availabilityDefinition
4243
]),
4344
.testTarget(

0 commit comments

Comments
 (0)