Closed FranzBusch closed 2 weeks ago
@swift-ci please test
@swift-ci please test
@swift-ci please test
@swift-ci please test
@swift-ci please test
@swift-ci test windows
@bnbarham do you think that @_spi
is sufficient here, or do we need a separate CLI flag with experimental-
prefix to enable it?
@MaxDesiatov @bnbarham This is both gated by a new availability and SPI. So it's really hard to access.
@swift-ci test
@bnbarham do you think that @_spi is sufficient here, or do we need a separate CLI flag with experimental- prefix to enable it?
LGTM after the ExperimentalTraits
SPI change 👍
@swift-ci please test
@MaxDesiatov Fixed up your comments. Thanks for catching the bad merge w.r.t. moduleAlias
stuff
@swift-ci test windows
Motivation:
This PR is the first one to land the package traits feature in SwiftPM. It focuses on the new public APIs and serialization of them.
Modifications:
This PR contains:
PackageDescription
APIs used to define traits, optional dependencies based on traits and build settings based on traitsPackageModel
I gated the new APIs behind both the
999
availability and anSPI(Traits)
to allow us to land this onmain
before the proposal is accepted.Result:
We can now define a package with traits 🚀