wasm-bindgen
wasm-bindgen copied to clipboard
What is deno.wasm in target folder?
Summary
I am trying to follow examples/deno to build my project, but an error raises package(s) wasm-bindgen-cli not found in workspace. I check the build.sh and find a binary file is target/wasm32-unknown-unknown/release/deno.wasm. What is this, how should I get this file?
Thanks for your help!
wasm-bindgen-cli is a tool for generating Javascript bindings for WebAssembly compiled from Rust. That path is most likely generated by Cargo (the build tool for Rust) which may have been started by wasm-pack.
- https://rustwasm.github.io/docs/wasm-bindgen/
- https://rustwasm.github.io/docs/wasm-pack/