You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Strip the WASM file from DWARF debug symbols if you generated a sourcemap file and will not use the embedded DWARF data. You can use the wasm-strip tool from WebAssembly Binary Toolkit (wabt):
Note: wasm2map does not do this automatically, because Google Chore is working on directly reading DWARF data from WASM, so to support all platforms, you might want to keep it.
Alternatively, you might want to keep the DWARF symbols in a separate file.
Code coverage on local
Install the cargo command llvm-cov:
cargo install cargo-llvm-cov
Run text report:
cargo llvm-cov
Integrate with IDE:
Note: VSCode has 'Coverage Gutters' extension which can read it.