Closed dicej closed 11 months ago
Actually, this seems non-deterministic, i.e. it sometimes blocks forever and sometimes not at all. Someone on MacOS reported that it either doesn't block at all or traps with an integer or floating point overflow error.
This is addressed by https://github.com/bytecodealliance/wasmtime/pull/6993
This was a bug in wasmtime-wasi
and will be fixed in Wasmtime 13, to be released soon.
For example, when targeting the wasi:cli command world:
The above prints "Hello, world!" and then seems to sleep forever.