Skip to content

Commit

Permalink
Adopt SwiftPM ModulesGraph initializer API adjustment
Browse files Browse the repository at this point in the history
`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)
  • Loading branch information
xedin committed May 29, 2024
1 parent 778678f commit 9f6021c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SKSwiftPMWorkspace/SwiftPMBuildSystem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ public actor SwiftPMBuildSystem {

self.modulesGraph = try ModulesGraph(
rootPackages: [],
packages: IdentifiableSet(),
dependencies: [],
binaryArtifacts: [:]
)
Expand Down

0 comments on commit 9f6021c

Please sign in to comment.