-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
At least portions of std::sys
should be public
#18897
Labels
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Comments
We need |
Yes, exposing file descriptors is very much part of the plan, though they will likely not be exposed directly via |
bors
added a commit
that referenced
this issue
Nov 26, 2014
This PR adds some internal infrastructure to allow the private `std::sys` module to access internal representation details of `std::io`. It then exposes those details in two new, platform-specific API surfaces: `std::os::unix` and `std::os::windows`. To start with, these will provide the ability to extract file descriptors, HANDLEs, SOCKETs, and so on from `std::io` types. More functionality, and more specific platforms (e.g. `std::os::linux`) will be added over time. Closes #18897
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jan 20, 2025
fix: Make test_runner::TestState::stdout optional to fix parsing cargo test json output
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Right now it is impossible to use
MemoryMap
with a file becauseAsFileDesc
is insys_common
and thus private.We should figure out which portions of
sys
should be public.The text was updated successfully, but these errors were encountered: