Skip to content

Commit 10f584c

Browse files
committed
linux_like: Fix SI_TIMER, SI_MESGQ and SI_ASYNCIO for mips64
mips64 uses the same definitions for these as the 32-bit targets. See e.g.: https://github.com/torvalds/linux/blob/master/arch/mips/include/uapi/asm/siginfo.h#L21 https://git.musl-libc.org/cgit/musl/tree/arch/mips64/bits/signal.h#n96 Signed-off-by: Jens Reidel <[email protected]>
1 parent 8e6f36c commit 10f584c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/linux_like/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ pub const SI_USER: c_int = 0;
12681268
pub const SI_KERNEL: c_int = 0x80;
12691269
pub const SI_QUEUE: c_int = -1;
12701270
cfg_if! {
1271-
if #[cfg(not(any(target_arch = "mips", target_arch = "mips32r6")))] {
1271+
if #[cfg(not(any(target_arch = "mips", target_arch = "mips32r6", target_arch = "mips64")))] {
12721272
pub const SI_TIMER: c_int = -2;
12731273
pub const SI_MESGQ: c_int = -3;
12741274
pub const SI_ASYNCIO: c_int = -4;

0 commit comments

Comments
 (0)