aboutsummaryrefslogtreecommitdiff
path: root/lib/std/leb128.zig
diff options
context:
space:
mode:
authorIvan Velickovic <i.velickovic@unsw.edu.au>2022-12-15 19:16:32 +1100
committerAndrew Kelley <andrew@ziglang.org>2022-12-15 09:00:42 -0500
commit88b49ed00d6d2efb5b523ab15cbf8ffb37383c56 (patch)
treebd1e1a793c878d57750814cf95d2730f314f7098 /lib/std/leb128.zig
parent077b003c50065a8b193dcad793ca5c4474222af6 (diff)
downloadzig-88b49ed00d6d2efb5b523ab15cbf8ffb37383c56.tar.gz
zig-88b49ed00d6d2efb5b523ab15cbf8ffb37383c56.zip
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.
Diffstat (limited to 'lib/std/leb128.zig')
-rw-r--r--lib/std/leb128.zig10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/std/leb128.zig b/lib/std/leb128.zig
index 188f9d219a..f72070d13d 100644
--- a/lib/std/leb128.zig
+++ b/lib/std/leb128.zig
@@ -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));