swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.65k stars 1.31k forks source link

Make modules graph loading `async` #7672

Open MaxDesiatov opened 2 weeks ago

MaxDesiatov commented 2 weeks ago

We should allow making packageGraphLoader async, but this infects a most of the build system code, including the plugin delegate code.

This unblocks the conversion of PubGrub code to Structured Concurrency.

MaxDesiatov commented 2 weeks ago

@swift-ci test

neonichu commented 2 weeks ago

Assuming this isn't the end state and loading the graph will still be optional? Otherwise, this will affect incremental build perf quite a bit.

MaxDesiatov commented 3 hours ago

@swift-ci test