Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Rust to WebAssembly the Hard Way
(
surma.dev
)
6 points
by
d12bb
on Feb 15, 2023
|
hide
|
past
|
favorite
|
2 comments
yohamta
on Feb 15, 2023
[–]
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
on Feb 15, 2023
|
parent
[–]
It seems the correct command is "cargo build --target wasm32-unknown-unknown --release".
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: