diff options
| author | David Rubin <daviru007@icloud.com> | 2024-05-02 03:33:56 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-06-13 02:20:47 -0700 |
| commit | 05de6c279bb4b36bd8751659984a9918624f7108 (patch) | |
| tree | 0a3c908736be592aa36e05d7327c73a8643fd62b /test/behavior/while.zig | |
| parent | 55b28c7e4438b3b8404a0fd703aad45db9dfe2ff (diff) | |
| download | zig-05de6c279bb4b36bd8751659984a9918624f7108.tar.gz zig-05de6c279bb4b36bd8751659984a9918624f7108.zip | |
riscv: `std.fmt.format` running
- implements `airSlice`, `airBitAnd`, `airBitOr`, `airShr`.
- got a basic design going for the `airErrorName` but for some reason it simply returns
empty bytes. will investigate further.
- only generating `.got.zig` entries when not compiling an object or shared library
- reduced the total amount of ops a mnemonic can have to 3, simplifying the logic
Diffstat (limited to 'test/behavior/while.zig')
| -rw-r--r-- | test/behavior/while.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/while.zig b/test/behavior/while.zig index e1e5ebbfb3..32bae6aeb3 100644 --- a/test/behavior/while.zig +++ b/test/behavior/while.zig @@ -258,7 +258,6 @@ fn returnWithImplicitCastFromWhileLoopTest() anyerror!void { test "while on error union with else result follow else prong" { if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const result = while (returnError()) |value| { break value; @@ -268,7 +267,6 @@ test "while on error union with else result follow else prong" { test "while on error union with else result follow break prong" { if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const result = while (returnSuccess(10)) |value| { break value; @@ -315,7 +313,6 @@ test "while error 2 break statements and an else" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const S = struct { fn entry(opt_t: anyerror!bool, f: bool) !void { |
