Skip to content

Conversation

willnode
Copy link
Contributor

Description

This PR is a part of effort to introduce uutils nproc which requires constants _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN. I see that there's other sysconf constants that's not updated here so I add them too.

Sources

Checklist

  • Relevant tests in libc-test/semver have been updated
  • No placeholder or unstable values like *LAST or *MAX are
    included (see #3131)
  • Tested locally (cd libc-test && cargo test --target mytarget);
    especially relevant for platforms that may not be checked in CI

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

_PC_SYMLINK_MAX
_PC_SYNC_IO
_POSIX_VDISABLE
_SC_ARG_MAX
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for keeping it sync!

@JohnTitor JohnTitor enabled auto-merge October 5, 2025 07:47
@JohnTitor JohnTitor added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Oct 5, 2025
@JohnTitor JohnTitor added this pull request to the merge queue Oct 5, 2025
Merged via the queue into rust-lang:main with commit 4d939b0 Oct 5, 2025
52 checks passed
JohnTitor pushed a commit to JohnTitor/libc that referenced this pull request Oct 9, 2025
(backport rust-lang#4728)

(cherry picked from commit 4d939b0)
@JohnTitor JohnTitor mentioned this pull request Oct 9, 2025
github-merge-queue bot pushed a commit that referenced this pull request Oct 9, 2025
(backport #4728)

(cherry picked from commit 4d939b0)
@JohnTitor JohnTitor 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 Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-redox O-unix stable-applied This PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants