diff options
| author | Michael Dusan <michael.dusan@gmail.com> | 2023-08-17 10:50:52 -0400 |
|---|---|---|
| committer | Michael Dusan <michael.dusan@gmail.com> | 2023-08-17 10:55:39 -0400 |
| commit | e288c546996d202e87168f25d689a2f21fe03b60 (patch) | |
| tree | 1957a7fb21a2f81f6984fbc4d95f8edb77e133a9 /lib/std/debug.zig | |
| parent | c685b675e547f61c81c5fb63159bc12b26405100 (diff) | |
| download | zig-e288c546996d202e87168f25d689a2f21fe03b60.tar.gz zig-e288c546996d202e87168f25d689a2f21fe03b60.zip | |
std.debug: openbsd does not have getcontext
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 0657d667c2..7a32271953 100644 --- a/lib/std/debug.zig +++ b/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, |
