Found a way to compile rust code without using emscripten
https://www.hellorust.com/setup/wasm-target/
Eventually this may even become easier than using emscripten and its possible other languages might do something similar. Would it be possible to generate the wasm this way as well, or are we locked into emscripten?