rust
rust copied to clipboard
Stabilize most of `io_error_more`
Sadly, venting my frustration with t-libs-api is not a constructive way to solve problems and get things done, so I will try to stick to stuff that actually matters here.
- Tracking issue for this feature was opened 3 years ago: #86442
- FCP to stabilize it was completed 19(!!) months ago: https://github.com/rust-lang/rust/issues/86442#issuecomment-1368082102
- A PR with stabilization was similarly open for 19 months: #106375, but nothing ever came out of it. Presumably (it is hard to judge given the lack of communication) because a few of the variants still had some concerns voiced about them, even after the FCP.
So, to highlight a common sentiment:
Maybe uncontroversial variants can be stabilised first and other variants (such as
QuotaExceededorFilesystemLoop) later? ^1
I would like to voice support stabilization of the uncontroversial variants. This would get those variants to stable and focus the discussion around the more controversial ones. I don't see any particular reason that all of these must be stabilized at the same time. [...] ^2
Maybe some less-controversial subset could be stabilized sooner? What’s blocking this issue from making progress? [^3]
[^3]: https://github.com/rust-lang/rust/issues/86442#issuecomment-1691187483 (got 30 upvotes btw) (and no response)
So this is exactly what this PR does. It stabilizes the non-controversial variants now, leaving just a few of them behind.
Namely, this PR stabilizes:
HostUnreachableNetworkUnreachableNetworkDownNotADirectoryIsADirectoryDirectoryNotEmptyReadOnlyFilesystemStaleNetworkFileHandleStorageFullNotSeekableFileTooLargeResourceBusyExecutableFileBusyDeadlockTooManyLinksArgumentListTooLongUnsupported
This PR does not stabilize:
FilesystemLoopFilesystemQuotaExceededCrossesDevicesInvalidFilename
Hopefully, this will allow us to move forward with this highly and long awaited addition to std, both allowing to still polish the less clear parts of it and not leading to stagnation.
r? joshtriplett because they seem to be listed as a part of t-libs-api and were one of the most responsive persons previously
r? libs
As much as I'd like to help out here, I am not in the libs-api team and should not be the one reviewing this.
r? libs-api
r? libs-api
r? libs-api
Maybe you can nominate it for T-libs-api discussion.
@rustbot label: +I-libs-api-nominated
Let's try
@rustbot label +I-libs-api-nominated
Nevermind, it was done while I was writing this. Thank you!
My apologies if I am beeing too pushy with this, it is just that I am worried this PR may suffer the same fate as the previous efforts and fall into indefinite stagnation.
As for re-rolling the reviewers, my reasoning was that if a reviewer is too busy to review this PR, someone else might be less occupied at the moment. Rustbot's default message promises "two weeks for the reviewer to take a look at your PR or pass it to someone else", so that is how long I have waited each time.
@bors r+
:pushpin: Commit f693910dcd0fe82ade55b666dc93f2fcfb3e31f9 has been approved by dtolnay
It is now in the queue for this repository.
This is missing a relnotes label
@rustbot label +relnotes
Wonder if I have enough rights for that