-
Couldn't load subscription status.
- Fork 1.4k
WebAssembly Support #2640
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
WebAssembly Support #2640
Conversation
|
LGTM, thank you for working on this! I just have one minor comment about the availability of the new API. |
|
@aciidb0mb3r Thanks for your review! I updated that point. |
|
@swift-ci smoke test |
|
Sorry, I fixed test cases to fit this change 🙏 |
|
@swift-ci smoke test |
|
I'm not sure why the smoke test on Linux failed 🤔 |
|
@swift-ci smoke test linux |
|
Passed 🎉 |
For wasm target, swift-autolink-extract try to extract info from swiftmodule. But without target argument, compiler emits module as Mach-O format on macOS which is not supported by swift-autolink-extract. So SwiftPM need to pass target option when emitting swiftmodule.
This is a part of SR-9307 and #24684.