Andy Wingo
Andy Wingo
### Test Case For the wasi-testsuite test [remove_directory_trailing_slashes](https://github.com/WebAssembly/wasi-testsuite/blob/main/tests/rust/src/bin/remove_directory_trailing_slashes.rs#L19), we mkdir `dir.cleanup`, then try to rrmdir `dir.cleanup/` (note trailing slash). This fails because it uses the "get the parent then remove...
### Background I wrote this version of pread the other day: ```rust async fn pread(fd: &Descriptor, size: usize, offset: u64) -> Result { let (mut rx, future) = fd.read_via_stream(offset); let...
It would be nice to write this kind of program: ```rust extern crate wasi; async fn main() { let one_millisecond = 1_000_000u64; wasi::clocks::monotonic_clock::wait_for(one_millisecond).await } ``` However, there are a number...
Extract [t.tar.gz](https://github.com/user-attachments/files/22517035/t.tar.gz); it creates `t/`. Then ``` cd t wizeng.x86-linux --dir=fs-tests.dir path_open_preopen.wasm fs-tests.dir ``` It seems to live-lock.
The `wasi-testsuite` used to run tests from a current working directory such that the dirs to expose to the guest have the same name to the guest and host, i.e....