sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-08 05:21:37 +00:00
parent ec769495ab
commit f5034afcba
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
3108 changed files with 91999 additions and 80269 deletions

View file

@ -0,0 +1,11 @@
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,