Skip to content

Commit 8bd31d7

Browse files
rmehri01tgross35
authored andcommitted
fix: simplify epoll_event packed check
1 parent 3060925 commit 8bd31d7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -285,14 +285,7 @@ cfg_if! {
285285

286286
s_no_extra_traits! {
287287
#[cfg_attr(
288-
any(
289-
all(
290-
target_arch = "x86",
291-
not(target_env = "musl"),
292-
not(target_os = "android")
293-
),
294-
target_arch = "x86_64"
295-
),
288+
any(target_arch = "x86_64", all(target_arch = "x86", target_env = "gnu")),
296289
repr(packed)
297290
)]
298291
pub struct epoll_event {

0 commit comments

Comments
 (0)