After running cargo web, executing the wasm file results in this panic:
thread 'main' panicked at 'unknown name section chunk type: 7', src/wasm_context.rs:642:41
I fixed this in this commit: Badel2@46b3637
By replacing the panic with an error. Not sure if this has any consequences, but it seems to work.
If you encounter this problem you can use my fork:
cargo install --git https://github.com/Badel2/cargo-web cargo-web