Anyone who has worked on implementing a wasi-io host or guest may be interested in this discussion: https://github.com/WebAssembly/wasi-io/issues/109
tl;dr there seems to be some ambiguity in error handling between the flush and final check-write of blocking-write-and-flush
This isn't (entirely) theoretical; it came out of a debugging session. There may be other similar ambiguities; I plan on looking more closely once we've nailed down this one.
Last updated: Dec 06 2025 at 06:05 UTC