Closed xzfc closed 2 years ago
Emscripten provides a UNIX-like environment for WASM, including filesystem support, so we could use an actual Unix implementation instead of WASM stubs.
However, it crashes on utimensat(..., AT_SYMLINK_NOFOLLOW), so add a check for it.
utimensat(..., AT_SYMLINK_NOFOLLOW)
Emscripten provides a UNIX-like environment for WASM, including filesystem support, so we could use an actual Unix implementation instead of WASM stubs.
However, it crashes on
utimensat(..., AT_SYMLINK_NOFOLLOW)
, so add a check for it.