-
Notifications
You must be signed in to change notification settings - Fork 30
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
Ship non-threads and threads SDKs as a single SDK #5590
Comments
@finagolfin seems to have implemented multiple targets within the Android SDK, I'm curious whether that approach is accessible here? |
Yeah, who says it's not allowed? The Musl static SDK bundle also supports multiple targets. |
The problem is even the format allows multiple targets, tools cannot uniquely select one of them when multiple SDK bundles containing multiple targets. See swiftlang/swift-package-manager#7973 |
OK, sure, that's a known bug, but it will only affect you if you're using the same target triple for threads and non-threads? Otherwise, why would you need multiple wasm SDK bundles anyway? |
It could also be a problem if we are installing multiple versions of Wasm SDKs. We are frequently updating our SDK, so different branches in some code base can use different SDKs. |
SwiftPM does not allow multiple targets within a single Swift SDK for now. There is no reason for the restriction and it forces us to distribute two SDKs for wasm32-unknown-wasip1-threads and wasm32-unknown-wasi.
The text was updated successfully, but these errors were encountered: