| ... | ... | @@ -982,7 +982,7 @@ comptime { |
| 982 | 982 | std.debug.assert(@sizeOf(siginfo_t) == 136); |
| 983 | 983 | } |
| 984 | 984 | |
| 985 | | const arch_bits = switch (builtin.cpu.arch) { |
| 985 | pub usingnamespace switch (builtin.cpu.arch) { |
| 986 | 986 | .x86_64 => struct { |
| 987 | 987 | pub const ucontext_t = extern struct { |
| 988 | 988 | sc_rdi: c_long, |
| ... | ... | @@ -1012,7 +1012,7 @@ const arch_bits = switch (builtin.cpu.arch) { |
| 1012 | 1012 | sc_rsp: c_long, |
| 1013 | 1013 | sc_ss: c_long, |
| 1014 | 1014 | |
| 1015 | | sc_fpstate: arch_bits.fxsave64, |
| 1015 | sc_fpstate: fxsave64, |
| 1016 | 1016 | __sc_unused: c_int, |
| 1017 | 1017 | sc_mask: c_int, |
| 1018 | 1018 | sc_cookie: c_long, |
| ... | ... | @@ -1035,8 +1035,6 @@ const arch_bits = switch (builtin.cpu.arch) { |
| 1035 | 1035 | }, |
| 1036 | 1036 | else => struct {}, |
| 1037 | 1037 | }; |
| 1038 | | pub const ucontext_t = arch_bits.ucontext_t; |
| 1039 | | pub const fxsave64 = arch_bits.fxsave64; |
| 1040 | 1038 | |
| 1041 | 1039 | pub const sigset_t = c_uint; |
| 1042 | 1040 | pub const empty_sigset: sigset_t = 0; |