mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
std: tagged unions are broken on arm64
This commit is contained in:
parent
d989396a34
commit
e270db956c
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user