-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
When running a simple Rust directory listing module on my C:\ drive as a test, cap-std will throw a panic :
'ino' depends on a Metadata constructed from an open 'File'
This can be reproduced through wasmtime with :
wasmtime run --dir C:\ list_dir.wasm -- C:\
This older issue #142 seems to be the same problem although it was closed with claims that it had been fixed ?
Did the bug get re-introduced somehow ?
I unfortunately don't have access to my list_dir project but its essentially only std::fs::read_dir(argv[1])
The important parts in my panic backtrace are :
wasmtime 0.26.0
wasi-common 0.26.0 (wasi_common::snapshots::preview_1::wasi_snapshot_preview1::fd_readdir)
wasi-cap-std-sync 0.26.0 (wasi_cap_std_sync::dir::{{impl}}::readdir)
cap-fs-ext 0.13.9 (cap_fs_ext::metadata_ext::{{impl}}::ino)
Metadata
Metadata
Assignees
Labels
No labels