Skip to content

Conversation

@pali6
Copy link
Contributor

@pali6 pali6 commented Nov 27, 2024

It seems like 79faa3e introduced an issue on Windows. In order to modify file modification time there it needs to be opened in write mode, otherwise it fails with an "Access is denied" OS error. This PR fixes that.

on Windows this is necessary to modify times of a file
@pali6 pali6 force-pushed the fix-windows-touch branch from 273f95c to 4401265 Compare November 27, 2024 12:14
Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, we had the same issue in bootstrap (the rustc build system), but I forgot about it here. Thanks!

@Kobzol Kobzol merged commit b43e268 into rust-lang:master Nov 27, 2024
11 checks passed
@pali6 pali6 deleted the fix-windows-touch branch November 27, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants