std.os.linux: SIG enum is non-exhaustive

This commit is contained in:
Andrew Kelley 2025-12-01 17:47:47 -08:00
parent 57f5de5b77
commit 54a84964f8

View file

@ -3771,6 +3771,7 @@ pub const SIG = if (is_mips) enum(u32) {
PROF = 29, PROF = 29,
XCPU = 30, XCPU = 30,
XFZ = 31, XFZ = 31,
_,
} else if (is_sparc) enum(u32) { } else if (is_sparc) enum(u32) {
pub const BLOCK = 1; pub const BLOCK = 1;
pub const UNBLOCK = 2; pub const UNBLOCK = 2;
@ -3816,6 +3817,7 @@ pub const SIG = if (is_mips) enum(u32) {
LOST = 29, LOST = 29,
USR1 = 30, USR1 = 30,
USR2 = 31, USR2 = 31,
_,
} else enum(u32) { } else enum(u32) {
pub const BLOCK = 0; pub const BLOCK = 0;
pub const UNBLOCK = 1; pub const UNBLOCK = 1;
@ -3859,6 +3861,7 @@ pub const SIG = if (is_mips) enum(u32) {
IO = 29, IO = 29,
PWR = 30, PWR = 30,
SYS = 31, SYS = 31,
_,
}; };
pub const kernel_rwf = u32; pub const kernel_rwf = u32;