2 ms·
If you're targeting browsers then the Rust WASM book goes over using wasm32-unknown-unknown with wasm_bindgen to auto-generate the JS glue https://rustwasm.git
by jsheard 4y ago
If you're targeting browsers then the Rust WASM book goes over using wasm32-unknown-unknown with wasm_bindgen to auto-generate the JS glue
https://rustwasm.github.io/docs/book/ https://rustwasm.github.io/docs/book/
If you're targeting some WASI-based platform then it's more straightforward, since no JS glue is needed. CF have a quick example
https://blog.cloudflare.com/announcing-wasi-on-workers/ https://blog.cloudflare.com/announcing-wasi-on-workers/
- pjmlp 4y agoThanks for the links.