authorgravatar for i.velickovic@unsw.edu.auIvan Velickovic <i.velickovic@unsw.edu.au> 2022-12-15 19:16:32+11:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-15 09:00:42-05:00
log88b49ed00d6d2efb5b523ab15cbf8ffb37383c56
treebd1e1a793c878d57750814cf95d2730f314f7098
parent077b003c50065a8b193dcad793ca5c4474222af6

std.leb128: Re-enable test for riscv64

These were previously disabled due to a LLVM 14 regression, see https://github.com/ziglang/zig/issues/12031 for more details. This has been fixed in LLVM 15.

1 files changed, 0 insertions(+), 10 deletions(-)

lib/std/leb128.zig-10
......@@ -347,11 +347,6 @@ fn test_write_leb128(value: anytype) !void {
347347}
348348
349349test "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
355350 const max_bits = 18;
356351
357352 comptime var t = 0;
......@@ -366,11 +361,6 @@ test "serialize unsigned LEB128" {
366361}
367362
368363test "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
374364 // explicitly test i0 because starting `t` at 0
375365 // will break the while loop
376366 try test_write_leb128(@as(i0, 0));