Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Rust to WebAssembly the Hard Way | Better HN
Rust to WebAssembly the Hard Way
(opens in new tab)
(surma.dev)
6 points
d12bb
3y ago
2 comments
Share
2 comments
default
newest
oldest
yohamta
3y 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
3y ago
It seems the correct command is "cargo build --target wasm32-unknown-unknown --release".
j
/
k
navigate · click thread line to collapse