Commit 59dd7a0fbd
2024-05-30 18:49:30
1 parent
0aeeff0Changed files (1)
lib
std
lib/std/debug.zig
@@ -228,8 +228,8 @@ pub fn relocateContext(context: *ThreadContext) void {
};
}
-pub const have_getcontext = @hasDecl(posix.system, "getcontext") and
- native_os != .openbsd and native_os != .haiku and
+pub const have_getcontext = native_os != .openbsd and native_os != .haiku and
+ !builtin.target.isAndroid() and
(native_os != .linux or switch (builtin.cpu.arch) {
.x86,
.x86_64,