aboutsummaryrefslogtreecommitdiff
path: root/lib/std/json.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-24 12:08:26 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-25 04:28:30 -0400
commitb55377a5ab34ba17336d25a9336a3bc18f535c43 (patch)
tree1111a2b1f4f3f808a4f08b554c16be97be3d3b66 /lib/std/json.zig
parent030da45c8e8437d31e7443077f8f2493d334a7d1 (diff)
downloadzig-b55377a5ab34ba17336d25a9336a3bc18f535c43.tar.gz
zig-b55377a5ab34ba17336d25a9336a3bc18f535c43.zip
x86_64: pass more tests
* 128-bit integer multiplication with overflow * more instruction encodings used by std inline asm * implement the `try_ptr` air instruction * follow correct stack frame abi * enable full panic handler * enable stack traces
Diffstat (limited to 'lib/std/json.zig')
-rw-r--r--lib/std/json.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/std/json.zig b/lib/std/json.zig
index fd8582bb3b..b513ced2f1 100644
--- a/lib/std/json.zig
+++ b/lib/std/json.zig
@@ -24,8 +24,6 @@ test Scanner {
}
test parseFromSlice {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
var parsed_str = try parseFromSlice([]const u8, testing.allocator, "\"a\\u0020b\"", .{});
defer parsed_str.deinit();
try testing.expectEqualSlices(u8, "a b", parsed_str.value);
@@ -44,8 +42,6 @@ test Value {
}
test writeStream {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
var out = ArrayList(u8).init(testing.allocator);
defer out.deinit();
var write_stream = writeStream(out.writer(), .{ .whitespace = .indent_2 });