Wasm install wasm-pack cargo install wasm-pack Build for WebAssembly wasm-pack build --target web --release Build for Desktop cargo build --release