Commit 7f6b7c5608

matt <5974590+mattheson@users.noreply.github.com>
2024-08-23 20:34:44
fix THREAD_STATE_NONE on darwin
#21094
1 parent 4d09fb4
Changed files (1)
lib
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) {