mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.os.linux: SIG enum is non-exhaustive
This commit is contained in:
parent
57f5de5b77
commit
54a84964f8
1 changed files with 3 additions and 0 deletions
|
|
@ -3771,6 +3771,7 @@ pub const SIG = if (is_mips) enum(u32) {
|
|||
PROF = 29,
|
||||
XCPU = 30,
|
||||
XFZ = 31,
|
||||
_,
|
||||
} else if (is_sparc) enum(u32) {
|
||||
pub const BLOCK = 1;
|
||||
pub const UNBLOCK = 2;
|
||||
|
|
@ -3816,6 +3817,7 @@ pub const SIG = if (is_mips) enum(u32) {
|
|||
LOST = 29,
|
||||
USR1 = 30,
|
||||
USR2 = 31,
|
||||
_,
|
||||
} else enum(u32) {
|
||||
pub const BLOCK = 0;
|
||||
pub const UNBLOCK = 1;
|
||||
|
|
@ -3859,6 +3861,7 @@ pub const SIG = if (is_mips) enum(u32) {
|
|||
IO = 29,
|
||||
PWR = 30,
|
||||
SYS = 31,
|
||||
_,
|
||||
};
|
||||
|
||||
pub const kernel_rwf = u32;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue