3 ms·
Try (after installing of rust and cargo via rustup): # Install support for "wasm" command for cargo: cargo install cargo-wasm # Install wasm target and w
by v_lisivka 8y ago
Try (after installing of rust and cargo via rustup):
# Install support for "wasm" command for cargo:
cargo install cargo-wasm
# Install wasm target and wasm-gc tool:
cargo wasm setup
# Create new wasm project:
cargo wasm new hello_world
and then in hello_world directory:
# Build and run wasm project:
cargo wasm run