aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-25 15:33:51 -0700
committerGitHub <noreply@github.com>2024-03-25 15:33:51 -0700
commit32b4d85605c9bdde13597a83116e5940be48a5be (patch)
tree53f6456ebb89e357b658eaafb83e3133d60b99f0 /lib/std/debug.zig
parentef31d8f48fa1b7ff5bd4cd57e812fd9c91fd1bd9 (diff)
parent2dd74cd312ec21a18b05ff7576f0d584ec7a41a2 (diff)
downloadzig-32b4d85605c9bdde13597a83116e5940be48a5be.tar.gz
zig-32b4d85605c9bdde13597a83116e5940be48a5be.zip
Merge pull request #19406 from jacobly0/haiku
haiku: get a cross-compiled compiler working
Diffstat (limited to 'lib/std/debug.zig')
-rw-r--r--lib/std/debug.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig
index f4bd232a69..824adc0261 100644
--- a/lib/std/debug.zig
+++ b/lib/std/debug.zig
@@ -229,7 +229,7 @@ pub fn relocateContext(context: *ThreadContext) void {
}
pub const have_getcontext = @hasDecl(posix.system, "getcontext") and
- native_os != .openbsd and
+ native_os != .openbsd and native_os != .haiku and
(native_os != .linux or switch (builtin.cpu.arch) {
.x86,
.x86_64,