Commit e270db956c

daurnimator <quae@daurnimator.com>
2020-02-18 00:31:02
std: tagged unions are broken on arm64
1 parent d989396
Changed files (1)
lib
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) {