swiftlang / swift-package-manager

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

Un-Revert "[Build] Free `BuildPlan` from `BuildTriple`" #7883

Closed xedin closed 1 month ago

xedin commented 1 month ago

Reverts swiftlang/swift-package-manager#7882

The CI problem associated with this revert actually stems from swift-foundation hard-coding a path that is no longer valid because some tests in FoundationEssentialsTests test macros which means that xctest bundle is going to be built for host and get -tool suffix for its resources directory. Using non-prefixed directory was incorrect because it's not related to the bundle that would actually be run.

xedin commented 1 month ago

@swift-ci please test