Module wasm_pack::build[][src]

Building a Rust crate into a .wasm binary.

Functions

cargo_build_wasm

Run cargo build with the nightly toolchain and targetting wasm32-unknown-unknown.

rustup_add_wasm_target

Ensure that rustup has the wasm32-unknown-unknown target installed for the nightly toolchain.