alexcrichton / filetime

Accessing file timestamps in a platform-agnostic fashion in Rust
Apache License 2.0
122 stars 56 forks source link

Emscripten support #88

Closed xzfc closed 2 years ago

xzfc commented 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.