commit 67fa5664b71202a2b288aa94b9c1bf10de9bdac3 (tree)
parent ba5d9d5a4198e49c6b9c1d02e4f97e24412f8f65
Author: mlugg <mlugg@mlugg.co.uk>
Date: Fri, 5 Sep 2025 15:17:49 +0100
std.posix: mark getcontext as unsupported by default
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;