You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Rust, `read` returning 0 bytes indicates end-of-stream, however in WASI
a `read` returning 0 bytes has no special meaning. So special-case a
0 coming from WASI to report it to Rust differently.
And, make writes on a closed WASI stream fail with `ConnectionReset`,
indicating that the stream has been closed.
0 commit comments