Skip to content
Márk Tolmács edited this page Jun 25, 2023 · 3 revisions

Welcome to the wasm2map wiki!

Development

Set up a development environment

  1. Install the wasm32-unknown-unknown target, which is required for the tests to run:
rustup target add wasm32-unknown-unknown [--target nightly]

Code coverage on local

  1. Install the cargo command llvm-cov:
cargo install cargo-llvm-cov 
  1. Run text report:
cargo llvm-cov
  1. Integrate with IDE: Note: VSCode has 'Coverage Gutters' extension which can read it.
cargo llvm-cov --lcov --output-path lcov.info
Clone this wiki locally