Skip to content

Conversation

@tgross35
Copy link
Contributor

@tgross35 tgross35 commented Oct 25, 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.

Link: https://pubs.opengroup.org/onlinepubs/007904975/basedefs/unistd.h.html

@rustbot
Copy link
Collaborator

rustbot commented Oct 25, 2025

Some changes occurred in solarish module

cc @jclulow, @pfmooney

Some changes occurred in OpenBSD module

cc @semarie

@rustbot
Copy link
Collaborator

rustbot commented Oct 29, 2025

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.

@tgross35 tgross35 force-pushed the posix-common-module branch 2 times, most recently from ef882a2 to 4299e0d Compare October 29, 2025 11:12
@tgross35 tgross35 force-pushed the posix-common-module branch 3 times, most recently from 4ace4a9 to a249006 Compare October 29, 2025 11:54
@tgross35 tgross35 enabled auto-merge October 29, 2025 11:56
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
@tgross35 tgross35 force-pushed the posix-common-module branch from a249006 to b045fb9 Compare October 29, 2025 11:57
@tgross35 tgross35 added this pull request to the merge queue Oct 29, 2025
Merged via the queue into rust-lang:main with commit 9cf1a1c Oct 29, 2025
50 of 51 checks passed
@tgross35 tgross35 deleted the posix-common-module branch October 29, 2025 12:28
@tgross35 tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 3, 2025
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)
@tgross35 tgross35 mentioned this pull request Nov 4, 2025
github-merge-queue bot pushed a commit that referenced this pull request Nov 4, 2025
(backport <#4774>)
(cherry picked from commit 91fc98c)
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)
@tgross35 tgross35 added stable-applied This PR has been cherry-picked to libc's stable release branch and removed stable-nominated This PR should be considered for cherry-pick to libc's stable release branch labels Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants