-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add more redox sys/socket.h and sys/uio.h definitions #4388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pub msg_iov: *mut crate::iovec, | ||
pub msg_iovlen: size_t, | ||
pub msg_control: *mut c_void, | ||
pub msg_controllen: size_t, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the linked source, should this also be socklen_t
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been corrected in relibc with https://gitlab.redox-os.org/redox-os/relibc/-/commit/27f3924126f931f63659f5464f3b1d76a4123e09
} | ||
|
||
pub struct cmsghdr { | ||
pub cmsg_len: size_t, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been corrected in relibc with https://gitlab.redox-os.org/redox-os/relibc/-/commit/27f3924126f931f63659f5464f3b1d76a4123e09
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, the rest LGTM.
@rustbot label +stable-nominated
The android test failed, I don't think it is because of my changes. |
The android tests have been very flaky, I don't know why. Restarted. |
Will this change go to the 0.2 branch as well? |
It will, I cherry pick everything labeled |
(backport <rust-lang#4388>) (cherry picked from commit a27b5a6)
(backport <rust-lang#4388>) (cherry picked from commit a27b5a6)
Description
This adds the following definitions for Redox OS
Structs:
Functions:
Sources
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI