Stream: git-wasmtime

Topic: wasmtime / PR #557 Implement `__wasi_fd_fdstat_get` for W...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 25 2020 at 17:20):

peterhuene edited PR #557 from implement-windows-fdstat-flags to master:

This PR fully implements __wasi_fd_fdstat_get on Windows so that
the descriptor flags can be determined.

It does this by calling into NtQueryInformationFile (safe to call from
user mode) to get the open mode and access of the underlying OS handle.

NtQueryInformationFile isn't included in the winapi crate, so it is
manually being linked against.

This PR also fixes several bugs on Windows:


Last updated: Dec 23 2024 at 12:05 UTC