aboutsummaryrefslogtreecommitdiff
path: root/lib/std/leb128.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-22 12:16:35 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-10-22 12:16:35 -0700
commit6f0198cadbe29294f2bf3153a27beebd64377566 (patch)
tree99e6a8657282d9ffe09944a52c78b7e5b6949071 /lib/std/leb128.zig
parent9f0359d78f9facc38418e32b0e8c1bf6f99f0d26 (diff)
downloadzig-6f0198cadbe29294f2bf3153a27beebd64377566.tar.gz
zig-6f0198cadbe29294f2bf3153a27beebd64377566.zip
Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"
This reverts commit 0c99ba1eab63865592bb084feb271cd4e4b0357e, reversing changes made to 5f92b070bf284f1493b1b5d433dd3adde2f46727. This caused a CI failure when it landed in master branch due to a 128-bit `@byteSwap` in std.mem.
Diffstat (limited to 'lib/std/leb128.zig')
-rw-r--r--lib/std/leb128.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/std/leb128.zig b/lib/std/leb128.zig
index 7cfbec0b97..f6e9b9ea60 100644
--- a/lib/std/leb128.zig
+++ b/lib/std/leb128.zig
@@ -215,8 +215,6 @@ fn test_read_uleb128_seq(comptime T: type, comptime N: usize, encoded: []const u
}
test "deserialize signed LEB128" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
// Truncated
try testing.expectError(error.EndOfStream, test_read_stream_ileb128(i64, "\x80"));
@@ -363,8 +361,6 @@ test "serialize unsigned LEB128" {
}
test "serialize signed LEB128" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
// explicitly test i0 because starting `t` at 0
// will break the while loop
try test_write_leb128(@as(i0, 0));