wasm32-unknown-unknown target. Crates also need to use the
embed_js_build crate in their
build script (see that crate's documentation for more details). Crates that generate binaries
must also use
embed_js_build in a post-build step to collect the generated accompanying
See the documentation pages of the macros in this crate for more details and examples. The embed_js repository also contains example projects.
For every crate that uses the