rust/library/std
bors 1f5d8d49eb Auto merge of #98246 - joshtriplett:times, r=m-ou-se
Support setting file accessed/modified timestamps

Add `struct FileTimes` to contain the relevant file timestamps, since
most platforms require setting all of them at once. (This also allows
for future platform-specific extensions such as setting creation time.)

Add `File::set_file_time` to set the timestamps for a `File`.

Implement the `sys` backends for UNIX, macOS (which needs to fall back
to `futimes` before macOS 10.13 because it lacks `futimens`), Windows,
and WASI.
2022-08-01 06:44:43 +00:00
..
benches
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Auto merge of #98246 - joshtriplett:times, r=m-ou-se 2022-08-01 06:44:43 +00:00
tests Fold aarch64 feature +fp into +neon 2022-03-22 15:14:33 -07:00
Cargo.toml library/std: Bump compiler_builtins 2022-05-26 21:11:16 +02:00
build.rs Library changes for Apple WatchOS 2022-07-20 08:57:36 +01:00