Skip to content

bsd/apple: add missing NET_RT_DUMP2 definition - #5442

Merged
JohnTitor merged 1 commit into
rust-lang:mainfrom
npry:main
Aug 30, 2026
Merged

bsd/apple: add missing NET_RT_DUMP2 definition#5442
JohnTitor merged 1 commit into
rust-lang:mainfrom
npry:main

Conversation

@npry

@npry npry commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

The missing constant is defined here:

https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/socket.h#L582

It's defined next to NET_RT_IFLIST2, which was already included here right next to the new definition.

@npry

npry commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

@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 Aug 27, 2026
The missing constant is defined here:

https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/socket.h#L582

It's defined next to NET_RT_IFLIST2, which was already included right
next to the new definition.
@rustbot

rustbot commented Aug 30, 2026

Copy link
Copy Markdown
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.

@JohnTitor JohnTitor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@JohnTitor
JohnTitor enabled auto-merge August 30, 2026 11:36
@JohnTitor
JohnTitor added this pull request to the merge queue Aug 30, 2026
Merged via the queue into rust-lang:main with commit bd415df Aug 30, 2026
58 checks passed
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Sep 4, 2026
The missing constant is defined here:

https://github.com/apple-oss-distributions/xnu/blob/f6217f891ac0bb64f3d375211650a4c1ff8ca1ea/bsd/sys/socket.h#L582

It's defined next to NET_RT_IFLIST2, which was already included right
next to the new definition.

(backport <rust-lang#5442>)
(cherry picked from commit bd415df)
@tgross35 tgross35 mentioned this pull request Sep 4, 2026
@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 Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-bsd O-macos 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