To complete the picture: the generated HTML file should be run with emrun main-wasm.html.
To learn about GC behaviour in WASM, probably any Nim code for testing the GC (like the one from [here](https://forum.nim-lang.org/t/2646)) could be run in the browser. If someone already had some in-process code/method for e.g. detecting memory leaks for a 32-bit target, I would be interested.