-
Notifications
You must be signed in to change notification settings - Fork 13.3k
impl AsFd and AsRawFd for io::{Stdin, Stdout, Stderr}, not the sys versions #102847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
impl AsFd and AsRawFd for io::{Stdin, Stdout, Stderr}, not the sys versions #102847
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
Noticed when trying to merge #98033 |
@bors try |
⌛ Trying commit 7887b1be32b604959cb436e964c2698bfca3122c with merge c87f0b4449c495495344282b0457bd2cd7f66eb0... |
This seems like the wrong place. For other public, os-specific types the |
☀️ Try build successful - checks-actions |
|
This is a bit inconsistent, e.g. |
rust-lang#100892 implemented AsFd for the sys versions, rather than for the public types. Change the implementations to apply to the public types.
7887b1b
to
88bb4e4
Compare
@the8472 That would be a substantially larger reorganization, affecting multiple targets. No objections to such a reorganization, but that seems orthogonal to this bugfix. That said, it does look like |
Not suggesting to fix everything. Just put the Stdio ones in the right place. |
Alright, let's hope this actually builds everywhere. |
@bors r+ |
#100892 implemented AsFd for the
sys versions, rather than for the public types. Change the
implementations to apply to the public types.