wasm-bindgen icon indicating copy to clipboard operation
wasm-bindgen copied to clipboard

What is deno.wasm in target folder?

Open Roy-Kid opened this issue 3 years ago • 1 comments

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!

Roy-Kid avatar Apr 28 '22 02:04 Roy-Kid

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/

allsey87 avatar Jun 17 '22 12:06 allsey87