Ekleog commented on Issue #2577:
Random question while I'm in the process of changing stuff: is the fact that there is no preopened_file that would allow preopening just a file on purpose? it doesn't look that awesome to use in practice, but maybe WASI doesn't support that yet?
Ekleog commented on Issue #2577:
Random thought: I'm thinking
preopened_dir
should have its arguments reversed, because in practice the path will often be shorter than opening the equivalent directory. WDYT?
pchickey commented on Issue #2577:
I'm happy for whatever improvements to the WasiCtxBuilder API, I've only used it in the test-programs harness so it is very poorly exercised.
As far as CI goes - I've been testing by running
cargo test --features test_programs
from insidecrates/test-programs
. The known failures are in wasi-c2/TEST_FAILURES. It's sloppy, though, and once I have the scheduler working I'll pursue getting all of CI fixed.
Last updated: Dec 23 2024 at 12:05 UTC