Skip to content

nuttx: Add _SC_HOST_NAME_MAX constant#5004

Merged
JohnTitor merged 1 commit intorust-lang:mainfrom
no1wudi:main
Mar 9, 2026
Merged

nuttx: Add _SC_HOST_NAME_MAX constant#5004
JohnTitor merged 1 commit intorust-lang:mainfrom
no1wudi:main

Conversation

@no1wudi
Copy link
Contributor

@no1wudi no1wudi commented Mar 7, 2026

Description

Add the missing _SC_HOST_NAME_MAX sysconf constant for the NuttX platform. This constant is used with sysconf() to get the maximum length of a host name.

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

@rustbot

This comment has been minimized.

@no1wudi
Copy link
Contributor Author

no1wudi commented Mar 8, 2026

@rustbot label +stable-nominated

@rustbot rustbot added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Mar 8, 2026
@JohnTitor
Copy link
Member

Could you rebase instead of merging?

Add the missing _SC_HOST_NAME_MAX sysconf constant for NuttX platform.
This constant is used to get the maximum length of a host name.
@rustbot
Copy link
Collaborator

rustbot commented Mar 8, 2026

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.

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.

@JohnTitor JohnTitor added this pull request to the merge queue Mar 9, 2026
Merged via the queue into rust-lang:main with commit 41a9c10 Mar 9, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stable-nominated This PR should be considered for cherry-pick to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants