-
Notifications
You must be signed in to change notification settings - Fork 277
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
Running unit tests for wasm32-unknown-unknown
#513
Comments
Unfortunately it's not super clear right now :( |
@alexcrichton semi-related and of interest to me: what's the recommended way of testing codegen for |
@tlively
note that you need to compile the This crate has not that many codegen tests for wasm enabled (only for the memory and atomic operations). The simd codegen tests are disabled. As you already know, I tried enabling the Let me know if you need help getting the tests to compile / run, I'm on IRC if you have questions. (I'm closing this because we already have cargo test runner for wasm32-unknown-unknown using wasm-bindgen-test set up in CI so this issue is resolved). |
@tlively ah unfortunately there's a fair number of moving parts to get stdsimd working from scratch right now with wasm32 (and SIMD). The easiest way I've found (to add to what @gnzlbg mentioned) is:
To purely test codegen you don't have to worry about the The above comments will need to modify If you get far enough to have questions about |
Note that |
Thanks, @alexcrichton! I'll try this out next week. |
@alexcrichton, does |
Yes wasm-bindgen should support everything needed for generating tests for stdarch. |
Interesting enough |
cc @alexcrichton what's the recommended way of testing
wasm32-unknown-unknown
?The text was updated successfully, but these errors were encountered: