Stream: git-wasmtime

Topic: wasmtime / issue #515 Sanitize filetypes for sockets & fifos


view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2026 at 16:31):

fitzgen closed issue #515:

Current code is inconsistent: sometimes __WASI_FILETYPE_UNKNOWN is 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.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 02 2026 at 16:31):

fitzgen commented on issue #515:

wasi-common has since been removed, closing this issue.


Last updated: Jul 29 2026 at 05:03 UTC