zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 7f6b7c56089eaa5b147e71b3d98328498c9025c8 (tree)
parent 4d09fb491f1a2e3c4404807c5f4b2c2e114f911b
Author: matt <5974590+mattheson@users.noreply.github.com>
Date:   Fri, 23 Aug 2024 11:34:44 -0700

fix THREAD_STATE_NONE on darwin

#21094

Diffstat:
Mlib/std/c/darwin.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig @@ -23,6 +23,7 @@ pub const mach_port_t = c_uint; pub const THREAD_STATE_NONE = switch (native_arch) { .aarch64 => 5, .x86_64 => 13, + else => @compileError("unsupported arch"), }; pub const EXC = enum(exception_type_t) {