Skip to content

Commit 9f6021c

Browse files
committed
Adopt SwiftPM ModulesGraph initializer API adjustment
`ModulesGraph.init` was changed by swiftlang/swift-package-manager#7530 to accept `packages` as a way to avoid having to recompute the full list of packages by walking roots. (cherry picked from commit 2270631) (cherry picked from commit b13244f)
1 parent 778678f commit 9f6021c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SKSwiftPMWorkspace/SwiftPMBuildSystem.swift

+1
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ public actor SwiftPMBuildSystem {
211211

212212
self.modulesGraph = try ModulesGraph(
213213
rootPackages: [],
214+
packages: IdentifiableSet(),
214215
dependencies: [],
215216
binaryArtifacts: [:]
216217
)

0 commit comments

Comments
 (0)