From 67fa5664b71202a2b288aa94b9c1bf10de9bdac3 Mon Sep 17 00:00:00 2001 From: mlugg Date: Fri, 5 Sep 2025 15:17:49 +0100 Subject: [PATCH] std.posix: mark getcontext as unsupported by default --- lib/std/posix.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/posix.zig b/lib/std/posix.zig index 67d337a081..50a210ece1 100644 --- a/lib/std/posix.zig +++ b/lib/std/posix.zig @@ -47,6 +47,7 @@ else switch (native_os) { .linux => linux, .plan9 => std.os.plan9, else => struct { + pub const getcontext = {}; pub const ucontext_t = void; pub const pid_t = void; pub const pollfd = void;