-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use aligned cmsghdr
structs test_cmsg_nxthdr
#3183
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
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
dcc8f24
to
898a632
Compare
I'm trying to get feedback in case there's something I've missed. I don't quite understand why it's structured the way it is. |
898a632
to
6604cd9
Compare
It looks like #1239 might have been caused by this too? |
Not sure, could you remove the cfg and related comments? |
6604cd9
to
2f15111
Compare
Ok, that seems to have worked? |
CI on PRs doesn't run on Sparc64, we need: |
Use aligned `cmsghdr` structs `test_cmsg_nxthdr` Fixes #3181. I could find no reason for using unaligned structs in this test.
💔 Test failed - checks-actions |
2f15111
to
4d5f5af
Compare
Oops, I missed a @bors try |
Use aligned `cmsghdr` structs `test_cmsg_nxthdr` Fixes #3181. I could find no reason for using unaligned structs in this test.
💔 Test failed - checks-actions |
Hm, that still failed. I'll try bumping up the alignment... |
4d5f5af
to
8a0ee82
Compare
@bors try |
Use aligned `cmsghdr` structs `test_cmsg_nxthdr` Fixes #3181. I could find no reason for using unaligned structs in this test.
💔 Test failed - checks-actions |
8a0ee82
to
26e1d72
Compare
26e1d72
to
9102bfb
Compare
Ok, I don't think I can fix sparc today. It's possible there may still be a problem in the test, or perhaps in For now I've aligned the buffer and also cleaned up a few of the pointer bits in case that triggers any debug asserts in the future. Nothing major though. |
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.
Alight, thank you for the fix!
@bors r+ p=1 |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
1 similar comment
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
👀 Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request. |
Fixes #3181.
I could find no reason for using unaligned structs in this test.