|
let wasi_stderr = MemoryOutputPipe::new(STACK_TRACE_SIZE); |
https://docs.wasmtime.dev/api/wasmtime_wasi/p2/pipe/index.html
Currently we crash and print out stderr after >5000 characters are written to stderr
We should either:
- Inform user more clearly that we crashed because we wrote too many characters to stderr
- Better handle many characters being written to stderr
- Both