-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
Because of the following checks:
if file_type == types::Filetype::RegularFile || file_type == types::Filetype::Directory { |
if file_type == types::Filetype::RegularFile || file_type == types::Filetype::Directory { |
And the fact that an OsOther is used here:
wasmtime/crates/wasi-common/src/ctx.rs
Line 372 in 4bb5894
let handle = OsOther::try_from(f)?; |
It is impossible since #1561, to replace stdin/stdout/stderr with a File descriptor pointing to a file.
I had tried fixing this issue (#1839) by simply replacing OsOther by OsFile, but obviously, this cannot work as other kinds of fd should also be supported.
What would be the course of action to fix this issue? Allowing OsOther to take a file?
Metadata
Metadata
Assignees
Labels
No labels