Skip to content

Commit 3bdc59b

Browse files
committed
windows fixup
1 parent 13c7989 commit 3bdc59b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/Commands/SwiftTestTool.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,10 +1039,9 @@ fileprivate func constructTestEnvironment(
10391039
let codecovProfile = buildParameters.buildPath.appending(components: "codecov", "default%m.profraw")
10401040
env["LLVM_PROFILE_FILE"] = codecovProfile.pathString
10411041
}
1042-
10431042
#if !os(macOS)
10441043
#if os(Windows)
1045-
if let location = toolchain.manifestResources.xctestLocation {
1044+
if let location = toolchain.configuration.xctestPath {
10461045
env["Path"] = "\(location.pathString);\(env["Path"] ?? "")"
10471046
}
10481047
#endif

Sources/SPMPackageEditor/PackageEditor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public final class PackageEditorContext {
268268

269269
// Create toolchain.
270270
let hostToolchain = try UserToolchain(destination: .hostDestination())
271-
self.manifestLoader = ManifestLoader(manifestResources: hostToolchain.manifestResources)
271+
self.manifestLoader = ManifestLoader(manifestResources: hostToolchain.configuration)
272272

273273
let repositoriesPath = buildDir.appending(component: "repositories")
274274
self.repositoryManager = RepositoryManager(

0 commit comments

Comments
 (0)