diff options
| author | bors <bors@rust-lang.org> | 2022-08-01 06:44:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-08-01 06:44:43 +0000 |
| commit | 1f5d8d49eb6111931091f700d07518cd2b80bc18 (patch) | |
| tree | 82ad9931fc0f0bcb4e4cbdac234cea0c74858607 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 25bb1c13bd472b75ceebee3b8dcf4dcbc431a8be (diff) | |
| parent | f8061ddb03f6b07108b0d041742f4faf0b3d5339 (diff) | |
| download | rust-1f5d8d49eb6111931091f700d07518cd2b80bc18.tar.gz rust-1f5d8d49eb6111931091f700d07518cd2b80bc18.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
