Commit e288c54699

Michael Dusan <michael.dusan@gmail.com>
2023-08-17 16:50:52
std.debug: openbsd does not have getcontext
1 parent c685b67
Changed files (1)
lib
lib/std/debug.zig
@@ -168,6 +168,7 @@ pub fn relocateContext(context: *ThreadContext) void {
 }
 
 pub const have_getcontext = @hasDecl(os.system, "getcontext") and
+    builtin.os.tag != .openbsd and
     (builtin.os.tag != .linux or switch (builtin.cpu.arch) {
     .x86,
     .x86_64,