-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Support for Wasm? #221
Comments
As for the second issue, it is the same issue as rust-lang/rust#81684. One or both of the following may work:
As for the first issue, I think we can add a subcommand as we did for nextest. something like: That said, the second issue needs to be resolved first. |
@taiki-e Hey, can we do anything to help develop this feature? The PR mentioned above in Rust repos was closed, and a lot has changed in the past year. |
I don't think the situation has changed much on this issue. Someone will need to either contribute to rustc to improve the situation (e.g., by taking over a PR that closed as inactive) or investigate (and document) how to make cargo-llvm-cov work with a profiler-builtins alternative. |
Hi, is there any updates? Thanks! (I guess no...? :/ ) |
Actually. Here is a spicy boy I made. https://github.com/hknio/wasmcov It doesn't use cargo-llvm-cov, but uses the llvm-cov package directly. |
With rustwasm/wasm-bindgen#3782, I think we can follow up here. We could do something like An annoying thing is that we have to use I would really love this. It would mean you can merge normal tests with wasm_bindgen_tests easily. |
I'd really like to be able to run my Web Assembly tests and get coverage reports for them.
First issue, can I specify a custom binary to run e.g. instead of
cargo test
, my test command iswasm-pack test --node
.Second issue, I get a compile error when trying to build on
wasm32-unknown-unknown
:Is the above possible?
The text was updated successfully, but these errors were encountered: