Skip to content

Commit

Permalink
Merge #1952
Browse files Browse the repository at this point in the history
1952: fix: linux+mips+uclibc unreachable pattern r=asomers a=cppcoffee

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>

Co-authored-by: Xiaobo Liu <cppcoffee@gmail.com>
  • Loading branch information
bors[bot] and cppcoffee committed Dec 25, 2022
2 parents 99ea907 + 2e0f533 commit ed0e859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/signal.rs
Expand Up @@ -1066,7 +1066,7 @@ mod sigevent {
SigevNotify::SigevThreadId{..} => libc::SIGEV_THREAD_ID,
#[cfg(all(target_os = "linux", target_env = "gnu", not(target_arch = "mips")))]
SigevNotify::SigevThreadId{..} => libc::SIGEV_THREAD_ID,
#[cfg(all(target_os = "linux", target_env = "uclibc"))]
#[cfg(all(target_os = "linux", target_env = "uclibc", not(target_arch = "mips")))]
SigevNotify::SigevThreadId{..} => libc::SIGEV_THREAD_ID,
#[cfg(any(all(target_os = "linux", target_env = "musl"), target_arch = "mips"))]
SigevNotify::SigevThreadId{..} => 4 // No SIGEV_THREAD_ID defined
Expand Down

0 comments on commit ed0e859

Please sign in to comment.