We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BuildParameters.forTriple()
1 parent 1c6ef57 commit 3208036Copy full SHA for 3208036
Sources/SPMBuildCore/BuildParameters.swift
@@ -305,10 +305,13 @@ public struct BuildParameters: Encodable {
305
testEntryPointPath = nil
306
}
307
308
+ var hostDestination = try Destination.hostDestination()
309
+ hostDestination.targetTriple = destinationTriple
310
+
311
return try .init(
312
dataPath: self.dataPath.parentDirectory.appending(components: ["plugins", "tools"]),
313
configuration: self.configuration,
- toolchain: try UserToolchain(destination: Destination.hostDestination()),
314
+ toolchain: try UserToolchain(destination: hostDestination),
315
hostTriple: self.hostTriple,
316
destinationTriple: destinationTriple,
317
flags: BuildFlags(),
0 commit comments