musl: Switch to the new structure for socket.h#4539
Merged
tgross35 merged 1 commit intorust-lang:mainfrom Oct 30, 2025
Merged
Conversation
neuschaefer
reviewed
Aug 14, 2025
Contributor
neuschaefer
left a comment
There was a problem hiding this comment.
I like the direction of this reorganization!
| @@ -0,0 +1,4 @@ | |||
| //! This directory maps to `include/uapi` in the Linux source tree. | |||
Contributor
There was a problem hiding this comment.
Nice, such a comment is good to have
| @@ -0,0 +1,5 @@ | |||
| mod arch; | |||
Contributor
There was a problem hiding this comment.
This could use a comment that mentions:
- this is musl-libc
- how it relates to the musl-libc source tree
Contributor
Author
There was a problem hiding this comment.
It has some much more detailed comments now
3924af7 to
9fb182e
Compare
bcb9805 to
f6b6a7d
Compare
Move `struct msghdr`, `struct cmsghdr`, `sendmmsg`, and `recvmmsg` over at this time, as well as two `SOCK_*` constants that were in the musl module. Link: https://github.com/kraj/musl/blob/9f204467e88c75e36105d1359951c5857c20fe0b/include/sys/socket.h
f6b6a7d to
4cff0a6
Compare
socket.h
Contributor
Author
|
Thank you for taking a look @neuschaefer! I think at this point the basic structure is probably there enough to start actually moving things to these modules. |
tgross35
added a commit
to tgross35/rust-libc
that referenced
this pull request
Nov 4, 2025
Move `struct msghdr`, `struct cmsghdr`, `sendmmsg`, and `recvmmsg` over at this time, as well as two `SOCK_*` constants that were in the musl module. Link: https://github.com/kraj/musl/blob/9f204467e88c75e36105d1359951c5857c20fe0b/include/sys/socket.h (backport <rust-lang#4539>) (cherry picked from commit 564e0ef)
Merged
github-merge-queue bot
pushed a commit
that referenced
this pull request
Nov 4, 2025
Move `struct msghdr`, `struct cmsghdr`, `sendmmsg`, and `recvmmsg` over at this time, as well as two `SOCK_*` constants that were in the musl module. Link: https://github.com/kraj/musl/blob/9f204467e88c75e36105d1359951c5857c20fe0b/include/sys/socket.h (backport <#4539>) (cherry picked from commit 564e0ef)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Move
struct msghdr,struct cmsghdr,sendmmsg, andrecvmmsgoverat this time, as well as two
SOCK_*constants that were in the muslmodule.
Link: https://github.com/kraj/musl/blob/9f204467e88c75e36105d1359951c5857c20fe0b/include/sys/socket.h