summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/signal.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/signal.rs')
-rw-r--r--vendor/rustix/src/signal.rs14
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);
}