mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
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.
This commit is contained in:
parent
077b003c50
commit
88b49ed00d
@ -347,11 +347,6 @@ fn test_write_leb128(value: anytype) !void {
|
||||
}
|
||||
|
||||
test "serialize unsigned LEB128" {
|
||||
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .riscv64) {
|
||||
// https://github.com/ziglang/zig/issues/12031
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
const max_bits = 18;
|
||||
|
||||
comptime var t = 0;
|
||||
@ -366,11 +361,6 @@ test "serialize unsigned LEB128" {
|
||||
}
|
||||
|
||||
test "serialize signed LEB128" {
|
||||
if (builtin.zig_backend == .stage2_llvm and builtin.cpu.arch == .riscv64) {
|
||||
// https://github.com/ziglang/zig/issues/12031
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
// explicitly test i0 because starting `t` at 0
|
||||
// will break the while loop
|
||||
try test_write_leb128(@as(i0, 0));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user