Doesn’t work with browser_wasi_shim
The README states that the output WASM file is known to work with browser_wasi_shim. However, when I tried it, it failed with the following error message:
async io not supported
It appears that the output WASM file uses poll_oneoff, which is not supported by browser_wasi_shim. Unless I’m doing something wrong and someone else can get it to work, we should probably remove the reference to browser_wasi_shim from the README.
EDIT: I just tried using wasi-js instead, and it worked without problems. Thus the issue must be with browser_wasi_shim and not with GHC.