diff --git a/lib/std/json.zig b/lib/std/json.zig index 830f492e74..bb59b4e0f3 100644 --- a/lib/std/json.zig +++ b/lib/std/json.zig @@ -1657,6 +1657,9 @@ test "parse into tagged union" { } test "parseFree descends into tagged union" { + // tagged unions are broken on arm64: https://github.com/ziglang/zig/issues/4492 + if (std.builtin.arch == .aarch64) return error.SkipZigTest; + var fail_alloc = testing.FailingAllocator.init(testing.allocator, 1); const options = ParseOptions{ .allocator = &fail_alloc.allocator }; const T = union(enum) {