From 415fefe079cfe7a1be31496ee5e44ddf4b071ada 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 60a349868e32..3537ad3078cd 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) {