You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[6.1] Fix WASI build of _copyDirectoryMetadata (#1099)
* Fix WASI build of `_copyDirectoryMetadata` (#1094)
Extended attributes don't exist in WASI, so we need to exclude the use
of xattr-related APIs including `flistxattr`.
* Follow-up fixes to make it work with wasi-libc (#1095)
* Gate `fchown` and `fchmod` calls behind `os(WASI)`
They are not available on WASI, so we gate them behind `os(WASI)`.
* Add missing constant shims for wasi-libc
* Use `futimens` instead of legacy `futimes`
wasi-libc does not provide `futimes` as it is a legacy function.
https://github.com/WebAssembly/wasi-libc/blob/574b88da481569b65a237cb80daf9a2d5aeaf82d/libc-top-half/musl/include/sys/time.h#L34
* Don't try to set extended attributes on Android (#1106)
Normal users don't have permission to change these, even for their own files.
---------
Co-authored-by: finagolfin <finagolfin@tuta.io>
0 commit comments