Implicitly trigger build graph generation when creating a SwiftPMBuildSystem

This commit is contained in:
Alex Hoppen
2024-08-24 16:13:56 -07:00
parent 367b19aa73
commit 897cd5e775
8 changed files with 29 additions and 78 deletions

View File

@@ -102,11 +102,6 @@ package protocol BuiltInBuildSystem: AnyObject, Sendable {
/// file or if it hasn't computed build settings for the file yet.
func sourceKitOptions(request: SourceKitOptionsRequest) async throws -> SourceKitOptionsResponse?
/// Schedule a task that re-generates the build graph. The function may return before the build graph has finished
/// being generated. If clients need to wait for an up-to-date build graph, they should call
/// `waitForUpToDateBuildGraph` afterwards.
func scheduleBuildGraphGeneration() async throws
/// Wait until the build graph has been loaded.
func waitForUpToDateBuildGraph() async