| author | |
| committer | |
| log | 67db2b85b771d8b0f9d765922951c31fce9c8cc2 |
| tree | 874a7e0de11267581b317596d40a4014acf548a0 |
| parent | 152462e2e1513ca9d7db5c2d6a2a61b547c5151c |
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.3 files changed, 0 insertions(+), 43 deletions(-)
test/cases/plan9/exit.zig deleted-5| ... | ... | @@ -1,5 +0,0 @@ |
| 1 | pub fn main() void {} | |
| 2 | ||
| 3 | // run | |
| 4 | // target=x86_64-plan9,aarch64-plan9 | |
| 5 | // |
test/cases/plan9/hello_world_with_updates.0.zig deleted-28| ... | ... | @@ -1,28 +0,0 @@ |
| 1 | pub fn main() void { | |
| 2 | const str = "Hello World!\n"; | |
| 3 | asm volatile ( | |
| 4 | \\push $0 | |
| 5 | \\push %%r10 | |
| 6 | \\push %%r11 | |
| 7 | \\push $1 | |
| 8 | \\push $0 | |
| 9 | \\syscall | |
| 10 | \\pop %%r11 | |
| 11 | \\pop %%r11 | |
| 12 | \\pop %%r11 | |
| 13 | \\pop %%r11 | |
| 14 | \\pop %%r11 | |
| 15 | : | |
| 16 | // pwrite | |
| 17 | : [syscall_number] "{rbp}" (51), | |
| 18 | [hey] "{r11}" (@ptrToInt(str)), | |
| 19 | [strlen] "{r10}" (str.len), | |
| 20 | : "rcx", "rbp", "r11", "memory" | |
| 21 | ); | |
| 22 | } | |
| 23 | ||
| 24 | // run | |
| 25 | // target=x86_64-plan9 | |
| 26 | // | |
| 27 | // Hello World | |
| 28 | // |
test/cases/plan9/hello_world_with_updates.1.zig deleted-10| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | const std = @import("std"); | |
| 2 | pub fn main() void { | |
| 3 | const str = "Hello World!\n"; | |
| 4 | _ = std.os.plan9.pwrite(1, str, str.len, 0); | |
| 5 | } | |
| 6 | ||
| 7 | // run | |
| 8 | // | |
| 9 | // Hello World | |
| 10 | // |