-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
C-enhancementCategory: A new feature or an improvement for an existing oneCategory: A new feature or an improvement for an existing oneC-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)help wantedCall for participation: Help is requested to fix this issueCall for participation: Help is requested to fix this issue
Description
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 is wasm-pack test --node
.
Second issue, I get a compile error when trying to build on wasm32-unknown-unknown
:
$ cargo llvm-cov --target wasm32-unknown-unknown
info: when --target option is used, coverage for proc-macro and build script will not be displayed because cargo does not pass RUSTFLAGS to them
Compiling cfg-if v1.0.0
Compiling scoped-tls v1.0.0
Compiling ag-grid-derive v0.1.0
error[E0463]: can't find crate for `profiler_builtins`
|
= note: the compiler may have been built without the profiler runtime
For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` due to previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `scoped-tls` due to previous error
Is the above possible?
VladasZ
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: A new feature or an improvement for an existing oneCategory: A new feature or an improvement for an existing oneC-upstream-bugCategory: This is a bug of compiler or dependencies (the fix may require action in the upstream)Category: This is a bug of compiler or dependencies (the fix may require action in the upstream)help wantedCall for participation: Help is requested to fix this issueCall for participation: Help is requested to fix this issue