diff options
| author | bors <bors@rust-lang.org> | 2023-12-13 02:27:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-13 02:27:12 +0000 |
| commit | 77d16997566dfb2384bcbc504e2579c7ae973666 (patch) | |
| tree | e4350dc1e78ad58b62a310734ee680c326a4e1b5 /compiler/rustc_codegen_llvm/src | |
| parent | 3340d49d22b1aba425779767278c40781826c2f5 (diff) | |
| parent | c6f7aa0eea9af919ade663bb3a4bb4b6761c3f83 (diff) | |
| download | rust-77d16997566dfb2384bcbc504e2579c7ae973666.tar.gz rust-77d16997566dfb2384bcbc504e2579c7ae973666.zip | |
Auto merge of #116438 - ChrisDenton:truncate, r=thomcc
Windows: Allow `File::create` to work on hidden files This makes `OpenOptions::new().write(true).create(true).truncate(true).open(&path)` work if the path exists and is a hidden file. Previously it would fail with access denied. This makes it consistent with `OpenOptions::new().write(true).truncate(true).open(&path)` (note the lack of `create`) which does not have this restriction. It's also more consistent with other platforms. Fixes #115745 (see that issue for more details).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
