From 67db2b85b771d8b0f9d765922951c31fce9c8cc2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 30 Jun 2022 14:32:10 -0700 Subject: [PATCH] remove plan9 test coverage This regressed; the plan9 linker code is crashing when trying to build compiler-rt and we have no active plan9 maintainers involved in the Zig project. Anyone is welcome to come over and take the role; however, it's not one of the tier 1, 2, or 3 targets, so we will not be blocking progress towards 1.0 on plan9. --- test/cases/plan9/exit.zig | 5 ---- .../plan9/hello_world_with_updates.0.zig | 28 ------------------- .../plan9/hello_world_with_updates.1.zig | 10 ------- 3 files changed, 43 deletions(-) delete mode 100644 test/cases/plan9/exit.zig delete mode 100644 test/cases/plan9/hello_world_with_updates.0.zig delete mode 100644 test/cases/plan9/hello_world_with_updates.1.zig diff --git a/test/cases/plan9/exit.zig b/test/cases/plan9/exit.zig deleted file mode 100644 index 735818fb83..0000000000 --- a/test/cases/plan9/exit.zig +++ /dev/null @@ -1,5 +0,0 @@ -pub fn main() void {} - -// run -// target=x86_64-plan9,aarch64-plan9 -// diff --git a/test/cases/plan9/hello_world_with_updates.0.zig b/test/cases/plan9/hello_world_with_updates.0.zig deleted file mode 100644 index 7e7c373251..0000000000 --- a/test/cases/plan9/hello_world_with_updates.0.zig +++ /dev/null @@ -1,28 +0,0 @@ -pub fn main() void { - const str = "Hello World!\n"; - asm volatile ( - \\push $0 - \\push %%r10 - \\push %%r11 - \\push $1 - \\push $0 - \\syscall - \\pop %%r11 - \\pop %%r11 - \\pop %%r11 - \\pop %%r11 - \\pop %%r11 - : - // pwrite - : [syscall_number] "{rbp}" (51), - [hey] "{r11}" (@ptrToInt(str)), - [strlen] "{r10}" (str.len), - : "rcx", "rbp", "r11", "memory" - ); -} - -// run -// target=x86_64-plan9 -// -// Hello World -// diff --git a/test/cases/plan9/hello_world_with_updates.1.zig b/test/cases/plan9/hello_world_with_updates.1.zig deleted file mode 100644 index 4111a8dc08..0000000000 --- a/test/cases/plan9/hello_world_with_updates.1.zig +++ /dev/null @@ -1,10 +0,0 @@ -const std = @import("std"); -pub fn main() void { - const str = "Hello World!\n"; - _ = std.os.plan9.pwrite(1, str, str.len, 0); -} - -// run -// -// Hello World -//