3 ms·
And installing the right target is typically as simple as: rustup target add wasm32-unknown-unknown Targeting browser APIs is a little more involved, gene
by MaulingMonkey 7y ago
And installing the right target is typically as simple as:
rustup target add wasm32-unknown-unknown
Targeting browser APIs is a little more involved, generally requiring either:
cargo install cargo-web
cargo web build [...]
for stdweb, or for web-sys:
cargo install wasm-pack
wasm-pack build [...]