diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-07-20 11:29:38 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-20 11:29:38 +0530 |
| commit | 80395679cb123099ef53f94b9d514729720e136c (patch) | |
| tree | d55f9b45f794a7097f359cd96e1d7fae7e299072 /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | 97c9f16a45c0ebda9facf38180549f896a81cf32 (diff) | |
| parent | eee8ca9a44e89d56ed63cf5a76de64cc6cb23c23 (diff) | |
| download | rust-80395679cb123099ef53f94b9d514729720e136c.tar.gz rust-80395679cb123099ef53f94b9d514729720e136c.zip | |
Rollup merge of #98916 - ChrisDenton:hiberfil.sys, r=thomcc
Windows: Use `FindFirstFileW` for getting the metadata of locked system files Fixes #96980 Usually opening a file handle with access set to metadata only will always succeed, even if the file is locked. However some special system files, such as `C:\hiberfil.sys`, are locked by the system in a way that denies even that. So as a fallback we try reading the cached metadata from the directory. Note that the test is a bit iffy. I don't know if `hiberfil.sys` actually exists in the CI. r? rust-lang/libs
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
