fitzgen closed issue #515:
Current code is inconsistent: sometimes
__WASI_FILETYPE_UNKNOWNis returned for socket fds, sometimes it's one of the__WASI_FILETYPE_SOCKET_*types.While this acceptable for now, when WASI doesn't really have any support for sockets whatsoever, changes aiming to introduce socket support should probably sanitize this.
Relevant issue: https://github.com/WebAssembly/WASI/issues/81
See also the discussion from: https://github.com/CraneStation/wasi-common/pull/80 and https://github.com/CraneStation/wasi-common/pull/78.
fitzgen commented on issue #515:
wasi-common has since been removed, closing this issue.
Last updated: Jul 29 2026 at 05:03 UTC