Yage Hu
Yage Hu
### Summary This is a subtle platform-specific WASI bug. The code sample I've included creates a file `tmp/a` and performs this sequence of actions: 1. Write 67 bytes to `tmp/a`....
### Summary `fd_sync` on a preopened base directory returns 76 (notcapable). On some other runtimes (WAMR, Node), it is 0 (ok). I wonder if it's possible to customize the capability...
This commit fixes a bug where creating a file with an implicit relative path returns `0` indicating success, but no file is created on the host. Here, implicit relative means...
Not sure this is a bug, but I can't find any previous discussion about this particular case. Calling `fd_filestat_set_times` with a preopened directory fd returns `badf`. I'm aware there is...
This is a subtle platform-specific WAIS bug. Run the following file compiled with wasi-sdk. It creates a file `tmp/a` and performs this sequence of actions: 1. Write 67 bytes to...
Compile this snippet with wasi-sdk and run it with wasmi will generate an invalid argument error. It does NOT error on other runtimes like Wasmtime or on native Linux. ```...
This commit adds a Rust test case that asserts an ambiguous `fstflags` input to `fd_filestat_set_times` should result in `inval` errno. An `fstflags` argument is ambiguous if: 1. both `atim` and...
This is a draft PR that adds an `uv_fs_openat` function. This has been requested in #4167 and will be useful for [uvwasi](https://github.com/nodejs/uvwasi) to implement proper path resolution. This was first...
### Summary I reported this issue with WasmEdge on Linux in #3062. Because of [the pwrite/append bug on Linux](https://linux.die.net/man/2/pwrite), other runtimes behave similar to WasmEdge (with the exception of Wasmtime)....
### Describe the bug Calling `path_symlink` with a non-directory descriptor and a `new_path` with only one component crashes Wasmer. ```rust fn main() { unsafe { let base_fd = 5; let...