It looks like posix_fallocate()
is defined by WASI-libc, but it is returning a 58 error code when used under wasmtime. Is this a WASI-libc issue or a wasmtime issue? I ask because this apparently used to work with much older versions of both, but not with WASI-SDK 20 and wasmtime 14, so I'm trying to track down where to ask for more information.
I believe fallocate is not implemented in wasmtime's implementation of wasi_snapshot_preview1 because it's been removed from preview2 due to portability concerns
Thanks! I'll then forcibly skip it existing in Python then.
Last updated: Nov 22 2024 at 16:03 UTC