-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make msqid_ds.__msg_cbytes public. #4301
Conversation
@tgross35, the CI failure is unrelated to my changes. |
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.
We often do this since the library doesn't really intend these fields be read, but there isn't much harm as long as it is understood that dunder fields tend to have no API guarantees.
CI is related to the recent rustup updates, I'll try to merge tomorrow.
@rustbot label +stable-nominated
@tgross35, again, the CI failure is still unrelated to my changes. |
I'm aware, we have had some flaky CI recently. #4306 may fix it. |
(backport <rust-lang#4301>) (cherry picked from commit a4fd45e)
(backport <rust-lang#4301>) (cherry picked from commit a4fd45e)
Make
msqid_ds.__msg_cbytes
public, making the field accessible. In C,struct msqid_ds
is defined in<sys/msg.h>
.Closes #4300.
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