11 lines
346 B
Text
11 lines
346 B
Text
Index: lib/std/debug.zig
|
|
--- lib/std/debug.zig.orig
|
|
+++ lib/std/debug.zig
|
|
@@ -170,6 +170,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,
|