diff options
author | Xiaobo Liu <cppcoffee@gmail.com> | 2022-12-25 10:07:17 +0800 |
---|---|---|
committer | Xiaobo Liu <cppcoffee@gmail.com> | 2022-12-25 10:07:17 +0800 |
commit | 2e0f533079ec479ff62abb42f275924a14eb037f (patch) | |
tree | d51ff8a70efb0d34398545d6496d254977579bd3 /src | |
parent | 99ea907d7d2eac0b2f1e025034c1016512461666 (diff) | |
download | nix-2e0f533079ec479ff62abb42f275924a14eb037f.zip |
fix: linux+mips+uclibc unreachable pattern
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/signal.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/signal.rs b/src/sys/signal.rs index baa5d79d..efa35ebf 100644 --- a/src/sys/signal.rs +++ b/src/sys/signal.rs @@ -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 |