wasi: syscalls relying on fd_readdir right fail with wasmtime >= v0.23 #8742
Labels
bug
Observed behavior contradicts documented or intended behavior
os-wasi
standard library
This issue involves writing Zig code for the standard library.
Milestone
See bytecodealliance/wasmtime#2891 for context. In summary, any function such as
std.fs.Dir.deleteTree
which requires a call toreaddir
syscall will fail when run against wasmtime at least v0.23 since the way the rights are cascaded has fundamentally changed.This issue is a blocker at bumping supported wasmtime version from v0.22.2, and its resolution will require scanning through relevant wasmtime's implementation of rights management and working out how to handle rights distribution within Zig's libstd.
The text was updated successfully, but these errors were encountered: