What follows is a brain dump of everything I know about compiling Rust to WebAssembly. Enjoy. Some time ago, I wrote a blog post on how to compile C to WebAssembly without Emscripten, i.e. without the default tool that makes that process easy. In Rust, the tool that makes WebAssembly easy is called wasm-bindgen, and we are going to ditch it! At the same time, Rust is a bit different in that WebAss
![Rust to WebAssembly the hard way — surma.dev](https://cdn-ak-scissors.b.st-hatena.com/image/square/16358d3db5616b2d76577759a687c6fefc82428e/height=288;version=1;width=512/https%3A%2F%2Fsurma.dev%2Fthings%2Frust-to-webassembly%2Fsocial.jpg)