diff options
| author | bors <bors@rust-lang.org> | 2024-08-16 09:24:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-16 09:24:17 +0000 |
| commit | 8fbdc04f1b2d6280c18f9e5458253bbe8e184a70 (patch) | |
| tree | cab177d81a472b4df6cae3067dbf2b3c170ab622 /compiler/rustc_codegen_llvm/src | |
| parent | d626fbdc66d667dd5beefb9e43bd2798485f7a44 (diff) | |
| parent | 26fae1ed1c7a5e614eae684fa806a1cc4ea0b527 (diff) | |
| download | rust-8fbdc04f1b2d6280c18f9e5458253bbe8e184a70.tar.gz rust-8fbdc04f1b2d6280c18f9e5458253bbe8e184a70.zip | |
Auto merge of #128977 - jieyouxu:writable-file, r=Kobzol
Only try to modify file times of a writable file on Windows Introduces a `set_file_times` helper which opens a given path as a file in r+w mode on Windows and then sets file times. Previously the file was open as read-only for Windows which caused permission errors locally. This should hopefully make setting file times less error prone, since trying to set file times on read-only file on Windows also happened in #127850. try-job: dist-loongarch64-musl try-job: x86_64-msvc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
