It should be as easy as passing the flag `ABORTING_ALLOC=0` to emcc. It's blocking [Fallible Allocation RFC](https://github.com/rust-lang/rust/issues/48043)