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/basic.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/basic.zig')
| -rw-r--r-- | test/behavior/basic.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index eabac35787..643f1141d1 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -513,7 +513,6 @@ var global_foo: *i32 = undefined; test "peer result location with typed parent, runtime condition, comptime prongs" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const S = struct { fn doTheTest(arg: i32) i32 { @@ -593,7 +592,6 @@ test "equality compare fn ptrs" { test "self reference through fn ptr field" { if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const S = struct { const A = struct { @@ -838,7 +836,6 @@ test "labeled block implicitly ends in a break" { test "catch in block has correct result location" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const S = struct { fn open() error{A}!@This() { @@ -870,7 +867,6 @@ test "labeled block with runtime branch forwards its result location type to bre test "try in labeled block doesn't cast to wrong type" { if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const S = struct { a: u32, @@ -1246,8 +1242,6 @@ test "pointer to tuple field can be dereferenced at comptime" { } test "proper value is returned from labeled block" { - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; - const S = struct { fn hash(v: *u32, key: anytype) void { const Key = @TypeOf(key); |
