Skip to content

Commit 6702c63

Browse files
committed
Don’t pass --enable-test-discovery when building on non-Darwin
Test discovery is enabled by default since Swift 5.4 and the flag has recently been removed.
1 parent 25ce3a2 commit 6702c63

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/common/SwiftPMBuilder.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ struct SwiftPMBuilder {
9393
args += ["-Xswiftc", "-warnings-as-errors"]
9494
}
9595

96-
#if !canImport(Darwin)
97-
args += ["--enable-test-discovery"]
98-
#endif
99-
10096
if release {
10197
args += ["--configuration", "release"]
10298
}

0 commit comments

Comments
 (0)