Skip to content

Commit aed5e78

Browse files
committed
SwiftDriverTests: exclude explicit triple
The explicit triple sets an OS, which then requires that the value for `-sdk` match. Because Windows uses a `-sdk` parameter, this will fail on Windows due to a mismatch for the SDKs. By excluding the triple, a host specific value is used which allows this to match and pass.
1 parent 2f65431 commit aed5e78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
12521252
let sdkArgumentsForTesting = (try? Driver.sdkArgumentsForTesting()) ?? []
12531253

12541254
let baseCommandLine = ["swiftc",
1255-
"-target", "x86_64-apple-macosx11.0",
12561255
"-I", cHeadersPath.nativePathString(escaped: true),
12571256
"-I", swiftModuleInterfacesPath.nativePathString(escaped: true),
12581257
main.nativePathString(escaped: true)] + sdkArgumentsForTesting

0 commit comments

Comments
 (0)