std: tagged unions are broken on arm64

This commit is contained in:
daurnimator 2020-02-18 10:31:02 +11:00
parent d989396a34
commit e270db956c
No known key found for this signature in database
GPG Key ID: 45B429A8F9D9D22A

View File

@ -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) {