Skip to content

Commit 1f2a1ca

Browse files
committed
Specify host triple for mock Swift SDK in testUserToolchainCompileFlags
1 parent f53c9c9 commit 1f2a1ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/BuildTests/BuildPlanTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4356,6 +4356,7 @@ final class BuildPlanTests: XCTestCase {
43564356
XCTAssertNoDiagnostics(observability.diagnostics)
43574357

43584358
let userSwiftSDK = try SwiftSDK(
4359+
hostTriple: hostTriple,
43594360
toolset: .init(
43604361
knownTools: [
43614362
.cCompiler: .init(extraCLIOptions: ["-I/fake/sdk/sysroot", "-clang-flag-from-json"]),

0 commit comments

Comments
 (0)