File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ libc_bitflags!(
20
20
EPOLLRDHUP ,
21
21
#[ cfg( target_os = "linux" ) ] // Added in 4.5; not in Android.
22
22
EPOLLEXCLUSIVE ,
23
+ #[ cfg( not( target_arch = "mips" ) ) ]
23
24
EPOLLWAKEUP ,
24
25
EPOLLONESHOT ,
25
26
EPOLLET ,
Original file line number Diff line number Diff line change @@ -467,9 +467,9 @@ impl SigEvent {
467
467
SigevNotify :: SigevKevent { ..} => libc:: SIGEV_KEVENT ,
468
468
#[ cfg( target_os = "freebsd" ) ]
469
469
SigevNotify :: SigevThreadId { ..} => libc:: SIGEV_THREAD_ID ,
470
- #[ cfg( all( target_os = "linux" , target_env = "gnu" ) ) ]
470
+ #[ cfg( all( target_os = "linux" , target_env = "gnu" , not ( target_arch = "mips" ) ) ) ]
471
471
SigevNotify :: SigevThreadId { ..} => libc:: SIGEV_THREAD_ID ,
472
- #[ cfg( all( target_os = "linux" , target_env = "musl" ) ) ]
472
+ #[ cfg( any ( all( target_os = "linux" , target_env = "musl" ) , target_arch = "mips ") ) ]
473
473
SigevNotify :: SigevThreadId { ..} => 4 // No SIGEV_THREAD_ID defined
474
474
} ;
475
475
sev. sigev_signo = match sigev_notify {
You can’t perform that action at this time.
0 commit comments