simplify epoll_event packed check#4639
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
(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_eventto be compliant with the below sourcesx86_64, but glibc only uses packed onx86so we can doany(target_arch = "x86_64", all(target_arch = "x86", target_env = "gnu"))Closes #4628
Sources
Checklist
libc-test/semverhave been updated*LASTor*MAXareincluded (see #3131)
cd libc-test && cargo test --target mytarget);especially relevant for platforms that may not be checked in CI
@rustbot label +stable-nominated