mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std.debug: openbsd does not have getcontext
This commit is contained in:
parent
c685b675e5
commit
e288c54699
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user