top | item 34801927 Rust to WebAssembly the Hard Way 6 points| d12bb | 3 years ago |surma.dev 2 comments order hn newest yohamta|3 years ago Thanks for the article. I tried it but somehow the compilation command doesn't work on my local: "$ cargo run --target=wasm32-unknown-unknown --release" error: a bin target must be available for `cargo run` yohamta|3 years ago It seems the correct command is "cargo build --target wasm32-unknown-unknown --release".
yohamta|3 years ago Thanks for the article. I tried it but somehow the compilation command doesn't work on my local: "$ cargo run --target=wasm32-unknown-unknown --release" error: a bin target must be available for `cargo run` yohamta|3 years ago It seems the correct command is "cargo build --target wasm32-unknown-unknown --release".
yohamta|3 years ago It seems the correct command is "cargo build --target wasm32-unknown-unknown --release".
yohamta|3 years ago
yohamta|3 years ago