-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Breaking change in std::os::windows::fs::OpenOptionsExt affecting 1.94.0 #153486
Copy link
Copy link
Closed
Copy link
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-windowsOperating system: WindowsOperating system: WindowsP-highHigh priorityHigh priorityT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.O-windowsOperating system: WindowsOperating system: WindowsP-highHigh priorityHigh priorityT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is a regression from stable to stable that affects Tokio's test suite: tokio-rs/tokio#7955
Code
I tried this code:
I expected to see this happen: Since this builds successfully on 1.90.0, it should also build successfully on 1.94.0
Instead, this happened: Build failed on 1.94.0.
Be aware that it's impossible to implement these methods as they are unstable. The breaking change effectively makes the trait sealed.
Version it worked on
I carried out this test locally on 1.90.0, but I believe it worked until 1.93.0.
Version with regression
rustc --version --verbose:Additional details
This was caused by: #149718
As far as I can tell, crates affected by this have no way to fix this build error without a breaking change because it's impossible to provide an implementation of the unstable method
freeze_last_access_time.@rustbot modify labels: +regression-from-stable-to-stable -regression-untriaged