-
Notifications
You must be signed in to change notification settings - Fork 30
Build XCTest for the wasm32-unknown-wasi triple #597
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
Most likely this is blocked by #592 as XCTest has a dependency on Foundation. |
Quick update, I currently have a version of XCTest building for the WASI triple, it did require turning off a lot of things that aren't available in either WASI or WASIFoundation yet, namely anything related to |
It now works with my custom build on macOS 🎉 (on Linux it's still blocked by #713)
A test failed, which is interesting, but at least |
@MaxDesiatov Wow, this is really great work! |
Yes, upstreaming everything is high on my list, just wanted to get something working first 🙂 |
Currently the
XCTest
module is not bult as a part of CI run, soswift test --triple wasm32-unknown-wasi
fails with this error:I understand that just building it for the triple probably won't fix
swift test
and it needs to learn how to call Wasmer for a test run, but bulidingXCTest
for the triple is probably a good first step.The text was updated successfully, but these errors were encountered: