From 7f6b7c56089eaa5b147e71b3d98328498c9025c8 Mon Sep 17 00:00:00 2001 From: matt <5974590+mattheson@users.noreply.github.com> Date: Fri, 23 Aug 2024 11:34:44 -0700 Subject: [PATCH] fix THREAD_STATE_NONE on darwin #21094 --- lib/std/c/darwin.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/c/darwin.zig b/lib/std/c/darwin.zig index 60a349868e..3537ad3078 100644 --- 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) {