Skip to content

Commit 8a908f2

Browse files
authored
Pass hostToolchainBinDir to SwiftSDKBundleStore (#2157)
This became a required parameter in swiftlang/swift-package-manager#8668, which can be easily computed, since the host toolchain in practice is always available when `SwiftSDKBundleStore` is initialized.
1 parent 66b20b9 commit 8a908f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/BuildSystemIntegration/SwiftPMBuildSystem.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ package actor SwiftPMBuildSystem: BuiltInBuildSystem {
221221
try AbsolutePath(validating: $0, relativeTo: absProjectRoot)
222222
}
223223
),
224+
hostToolchainBinDir: hostSwiftPMToolchain.swiftCompilerPath.parentDirectory,
224225
fileSystem: localFileSystem,
225226
observabilityScope: observabilitySystem.topScope.makeChildScope(description: "SwiftPM Bundle Store"),
226227
outputHandler: { _ in }

0 commit comments

Comments
 (0)