I tried to get wasm export to work but would always get the error
Can't resolve symbol gdext_rust_init. Error: Tried to lookup unknown symbol "gdext_rust_init" in dynamic lib: game.wasm
That is, until I stumbled upon someone having the same issue and posting the solution: https://discord.com/channels/723850269347283004/1288906885746917447
Turns out, godot itself exports a file named <projectname>.wasm, so if you have named your rust library the same as your godot project, they will overwrite each other!