diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:59:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:59:35 +0000 |
commit | d1b2d29528b7794b41e66fc2136e395a02f8529b (patch) | |
tree | a4a17504b260206dec3cf55b2dca82929a348ac2 /vendor/rustix/src/signal.rs | |
parent | Releasing progress-linux version 1.72.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.tar.xz rustc-d1b2d29528b7794b41e66fc2136e395a02f8529b.zip |
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/rustix/src/signal.rs')
-rw-r--r-- | vendor/rustix/src/signal.rs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/vendor/rustix/src/signal.rs b/vendor/rustix/src/signal.rs index e1723c990..43236f335 100644 --- a/vendor/rustix/src/signal.rs +++ b/vendor/rustix/src/signal.rs @@ -48,11 +48,14 @@ pub enum Signal { solarish, target_os = "aix", target_os = "haiku", + target_os = "nto", all( linux_kernel, any( target_arch = "mips", + target_arch = "mips32r6", target_arch = "mips64", + target_arch = "mips64r6", target_arch = "sparc", target_arch = "sparc64" ), @@ -106,7 +109,9 @@ pub enum Signal { linux_kernel, any( target_arch = "mips", + target_arch = "mips32r6", target_arch = "mips64", + target_arch = "mips64r6", target_arch = "sparc", target_arch = "sparc64" ) @@ -149,11 +154,14 @@ impl Signal { solarish, target_os = "aix", target_os = "haiku", + target_os = "nto", all( linux_kernel, any( target_arch = "mips", + target_arch = "mips32r6", target_arch = "mips64", + target_arch = "mips64r6", target_arch = "sparc", target_arch = "sparc64" ), @@ -186,7 +194,9 @@ impl Signal { linux_kernel, any( target_arch = "mips", + target_arch = "mips32r6", target_arch = "mips64", + target_arch = "mips64r6", target_arch = "sparc", target_arch = "sparc64" ) @@ -206,7 +216,5 @@ impl Signal { #[test] fn test_sizes() { - use core::mem::size_of; - - assert_eq!(size_of::<Signal>(), size_of::<c::c_int>()); + assert_eq_size!(Signal, c::c_int); } |