News for hackers. Stuff that matters.
Re:Rust to WebAssembly the Hard Way by yohamta on Wednesday February 15, 2023 @09:41AM (#34804400)
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`
Re:Rust to WebAssembly the Hard Way by yohamta on Wednesday February 15, 2023 @09:56AM (#34804640)
It seems the correct command is "cargo build --target wasm32-unknown-unknown --release".