Rollup merge of #134679 - ChrisDenton:rm-readonly, r=Mark-Simulacrum

Windows: remove readonly files

When calling `remove_file`, we shouldn't fail to delete readonly files. As the test makes clear, this make the Windows behaviour consistent with other platforms. This also makes us internally consistent with `remove_dir_all`.

try-job: x86_64-msvc-ext1
This commit is contained in:
Urgau 2025-02-09 00:37:26 +01:00 committed by GitHub
commit 989ce77a05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available