Skip to content

Make supportedTriples optional in SDK metadata for universal SDKs #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Mar 29, 2024

For SDKs that can be universally used on any host platform, the supportedTriples field in the SDK metadata was previously required to fill all possible host triples.
This change makes the supportedTriples field optional, allowing SDKs to be universally used without specifying any host triples, and Wasm SDK generator fills the field with null when --host-swift-package-path is not provided.

We need SwiftPM side support as well. swiftlang/swift-package-manager#7432

For SDKs that can be universally used on any host platform, the
`supportedTriples` field in the SDK metadata was previously required to
fill all possible host triples.
This change makes the `supportedTriples` field optional, allowing SDKs
to be universally used without specifying any host triples, and Wasm SDK
generator fills the field with null when `--host-swift-package-path` is
not provided.
Copy link
Contributor

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kateinoigakukun kateinoigakukun marked this pull request as ready for review March 29, 2024 15:12
@kateinoigakukun
Copy link
Member Author

@swift-ci test

@kateinoigakukun kateinoigakukun merged commit bbf2442 into swiftlang:main Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants