-
Notifications
You must be signed in to change notification settings - Fork 104
Add WASI support #228
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
Comments
cc @kateinoigakukun in case you are interested for pushing this up. |
swiftlang/swift-package-manager#7118 will unblock this |
We'd love to support WASI/WASM! Are you able to build to a point where you can see failures in swift-testing yet, or are you blocked by the swift-syntax failures? (Our dependency on swift-syntax is limited to the compiler side of things, so we may be able to hack around the build failures if they cannot reasonably be solved.) |
The failures are not caused by swift-syntax or the compiler, it's SwiftPM passing a wrong triple to the Swift Syntax build when compiling dependencies of macros. That was fixed in the PR linked above, but we may need to revert that until we resolve remaining issues with how triple arguments are passed for cross-compiled builds. |
Thank you for the additional info, Max. 🙂 I said swift-syntax because the failures were reported against that package. I understand the nature of the failure here, and that the root cause is because SwiftPM is building our macro target and its dependencies for the target platform. |
Thanks for the tip. Would you mind cc me when the issue is eventually fixed to the nightly toolchain as I may not check the PRs on SwiftPM frequently? |
As an administrative thing, I'm going to mark issues asking for new platform support as enhancements rather than bugs. (Carry on!) |
Closing as we added experimental support by #584 |
Description
Current this build will fail due to some upstream blocked.
Open this issue to track the support for WASI
Context
I'm maintaining some library which supports WASI. After converting to swift-testing, the WASI CI is failing. I have to disable it for now.
Priority
Low.
Before we add official WASI support in Swift Project. The priority is low here and I only open the issue for keep tracking the progress.
The text was updated successfully, but these errors were encountered: