-
Notifications
You must be signed in to change notification settings - Fork 1.2k
reorg: Introduce a posix/unistd module #4774
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
2f01566 to
9964623
Compare
Collaborator
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
ef882a2 to
4299e0d
Compare
4ace4a9 to
a249006
Compare
Create a module for common Posix-specified definitions in `unistd.h`,
which are then reexported by relevant targets. Populate this with the
`STD{IN,OUT,ERR}_FILENO` constants to start, which have posix-specified
values.
Link: https://pubs.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html
a249006 to
b045fb9
Compare
tgross35
added a commit
to tgross35/rust-libc
that referenced
this pull request
Nov 4, 2025
(backport <rust-lang#4774>) (cherry picked from commit 91fc98c)
tgross35
added a commit
to tgross35/rust-libc
that referenced
this pull request
Nov 4, 2025
Create a module for common Posix-specified definitions in `unistd.h`,
which are then reexported by relevant targets. Populate this with the
`STD{IN,OUT,ERR}_FILENO` constants to start, which have posix-specified
values.
Link: https://pubs.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html
(backport <rust-lang#4774>)
(cherry picked from commit 9cf1a1c)
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 4, 2025
Create a module for common Posix-specified definitions in `unistd.h`,
which are then reexported by relevant targets. Populate this with the
`STD{IN,OUT,ERR}_FILENO` constants to start, which have posix-specified
values.
Link: https://pubs.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html
(backport <#4774>)
(cherry picked from commit 9cf1a1c)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
O-android
O-linux-like
O-macos
O-newlib
O-redox
O-solarish
O-unix
stable-applied
This PR has been cherry-picked to libc's stable release branch
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Create a module for common Posix-specified definitions in
unistd.h, which are then reexported by relevant targets. Populate this with theSTD{IN,OUT,ERR}_FILENOconstants to start.Link: https://pubs.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html