| ... | ... | @@ -347,11 +347,6 @@ fn test_write_leb128(value: anytype) !void { |
| 347 | 347 | } |
| 348 | 348 | |
| 349 | 349 | test "serialize unsigned LEB128" { |
| 350 | | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .riscv64) { |
| 351 | | // https://github.com/ziglang/zig/issues/12031 |
| 352 | | return error.SkipZigTest; |
| 353 | | } |
| 354 | | |
| 355 | 350 | const max_bits = 18; |
| 356 | 351 | |
| 357 | 352 | comptime var t = 0; |
| ... | ... | @@ -366,11 +361,6 @@ test "serialize unsigned LEB128" { |
| 366 | 361 | } |
| 367 | 362 | |
| 368 | 363 | test "serialize signed LEB128" { |
| 369 | | if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .riscv64) { |
| 370 | | // https://github.com/ziglang/zig/issues/12031 |
| 371 | | return error.SkipZigTest; |
| 372 | | } |
| 373 | | |
| 374 | 364 | // explicitly test i0 because starting `t` at 0 |
| 375 | 365 | // will break the while loop |
| 376 | 366 | try test_write_leb128(@as(i0, 0)); |