fix THREAD_STATE_NONE on darwin

#21094
This commit is contained in:
matt 2024-08-23 11:34:44 -07:00 committed by Andrew Kelley
parent 4d09fb491f
commit 7f6b7c5608

View File

@ -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) {