Skip to content
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

Merged
merged 4 commits into from Mar 6, 2020
Merged

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Mar 5, 2020

  • 2548c5e The main change of this PR adds WebAssembly/WASI variant as platform.
  • 6d16075 This change is necessary to make swift-autolink-extract work.
    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.

@aciidgh
Copy link
Member

aciidgh commented Mar 5, 2020

LGTM, thank you for working on this! I just have one minor comment about the availability of the new API.

@kateinoigakukun
Copy link
Member Author

@aciidb0mb3r Thanks for your review! I updated that point.

@aciidgh
Copy link
Member

aciidgh commented Mar 6, 2020

@swift-ci smoke test

@kateinoigakukun
Copy link
Member Author

Sorry, I fixed test cases to fit this change 🙏

@aciidgh
Copy link
Member

aciidgh commented Mar 6, 2020

@swift-ci smoke test

@kateinoigakukun
Copy link
Member Author

I'm not sure why the smoke test on Linux failed 🤔
It seems to fail while building test suites. Is this related to cache?

@aciidgh
Copy link
Member

aciidgh commented Mar 6, 2020

@swift-ci smoke test linux

@kateinoigakukun
Copy link
Member Author

Passed 🎉

@aciidgh aciidgh merged commit d341579 into apple:master Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants