authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-01 17:47:47-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-12-01 19:17:52-08:00
log54a84964f8e3cd015688c6929612f7438b7e9553
treec90fc1494170fe8603fc761ac5106f088d01b21d
parent57f5de5b7703f9d27e8c12ca71e2db32cab43cf3

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


1 files changed, 3 insertions(+), 0 deletions(-)

lib/std/os/linux.zig+3
...@@ -3771,6 +3771,7 @@ pub const SIG = if (is_mips) enum(u32) {...@@ -3771,6 +3771,7 @@ pub const SIG = if (is_mips) enum(u32) {
3771 PROF = 29,3771 PROF = 29,
3772 XCPU = 30,3772 XCPU = 30,
3773 XFZ = 31,3773 XFZ = 31,
3774 _,
3774} else if (is_sparc) enum(u32) {3775} else if (is_sparc) enum(u32) {
3775 pub const BLOCK = 1;3776 pub const BLOCK = 1;
3776 pub const UNBLOCK = 2;3777 pub const UNBLOCK = 2;
...@@ -3816,6 +3817,7 @@ pub const SIG = if (is_mips) enum(u32) {...@@ -3816,6 +3817,7 @@ pub const SIG = if (is_mips) enum(u32) {
3816 LOST = 29,3817 LOST = 29,
3817 USR1 = 30,3818 USR1 = 30,
3818 USR2 = 31,3819 USR2 = 31,
3820 _,
3819} else enum(u32) {3821} else enum(u32) {
3820 pub const BLOCK = 0;3822 pub const BLOCK = 0;
3821 pub const UNBLOCK = 1;3823 pub const UNBLOCK = 1;
...@@ -3859,6 +3861,7 @@ pub const SIG = if (is_mips) enum(u32) {...@@ -3859,6 +3861,7 @@ pub const SIG = if (is_mips) enum(u32) {
3859 IO = 29,3861 IO = 29,
3860 PWR = 30,3862 PWR = 30,
3861 SYS = 31,3863 SYS = 31,
3864 _,
3862};3865};
38633866
3864pub const kernel_rwf = u32;3867pub const kernel_rwf = u32;