bjorn3 commented on issue #273:
Is there value in keeping this open? https://github.com/WebAssembly/WASI/pull/180 has been merged.
alexcrichton closed issue #273:
To quote the spec:
__WASI_RIGHT_PATH_FILESTAT_SET_SIZE The right to change a file's size (there is no __wasi_path_filestat_set_size()). If __WASI_RIGHT_PATH_OPEN is set, includes the right to invoke __wasi_path_open() with __WASI_O_TRUNC.
Is there any reason why
path_filestat_set_size
is not present in the WASI API, when there's a corresponding right defined and bothpath_filestat_get
andpath_filestat_set_times
are present? Currently the right is only used inpath_open
.
Last updated: Nov 22 2024 at 16:03 UTC