authorgravatar for 5974590+mattheson@users.noreply.github.commatt <5974590+mattheson@users.noreply.github.com> 2024-08-23 11:34:44-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-09-24 22:41:00-07:00
log7f6b7c56089eaa5b147e71b3d98328498c9025c8
tree7980f8e654c2c8ff9a458188f0defe15bd8bc103
parent4d09fb491f1a2e3c4404807c5f4b2c2e114f911b

fix THREAD_STATE_NONE on darwin

#21094

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

lib/std/c/darwin.zig+1
...@@ -23,6 +23,7 @@ pub const mach_port_t = c_uint;...@@ -23,6 +23,7 @@ pub const mach_port_t = c_uint;
23pub const THREAD_STATE_NONE = switch (native_arch) {23pub const THREAD_STATE_NONE = switch (native_arch) {
24 .aarch64 => 5,24 .aarch64 => 5,
25 .x86_64 => 13,25 .x86_64 => 13,
26 else => @compileError("unsupported arch"),
26};27};
2728
28pub const EXC = enum(exception_type_t) {29pub const EXC = enum(exception_type_t) {