-
Notifications
You must be signed in to change notification settings - Fork 1.2k
simplify epoll_event packed check #4639
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
ed6cdf9
to
ce34afb
Compare
Ah this seems to fail on |
Looking around:
So I think it would be most accurate to update this to |
Oh interesting. Maybe I have it the wrong way around but for glibc, I think that |
ce34afb
to
fa3fdaa
Compare
Oh yup you're right, I should have checked the |
93bcdc6
to
c33fc9f
Compare
c33fc9f
to
7d54be1
Compare
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.
Great, thank you!
(backport <rust-lang#4639>) (cherry picked from commit 8bd31d7)
(backport <rust-lang#4639>) (cherry picked from commit 8bd31d7)
(backport <rust-lang#4639>) (cherry picked from commit 8bd31d7)
Description
repr(packed)
onepoll_event
to be compliant with the below sourcesx86_64
, but glibc only uses packed onx86
so we can doany(target_arch = "x86_64", all(target_arch = "x86", target_env = "gnu"))
Closes #4628
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
@rustbot label +stable-nominated