Closed yagehu closed 9 months ago
@yagehu can you take a look at the failure on Windows?
@yagehu can you take a look at the failure on Windows?
I pushed a fix. Thanks!
Sorry for the noise. I'll test on a Windows machine today and try again.
I tested the commit on Win 11. It compiles and passes the fd_advise test.
This commit adds a check to
fd_advise
. If the fd is a directory, returnebadf
. This brings uvwasi in line with Wasmtime's behavior. WASI folks have stated that fd_advise should not work on directories as this is a Linux-specific behavior.