disable std lib test failing with self-hosted ReleaseSafe

I opened a corresponding issue #12178 which has the 0.10.0 milestone, so
this must be fixed before we release.
This commit is contained in:
Andrew Kelley 2022-07-20 12:50:58 -07:00
parent 1ec50613bf
commit 21064d9144

View File

@ -375,6 +375,12 @@ test "testHash struct" {
}
test "testHash union" {
const builtin = @import("builtin");
if (builtin.zig_backend == .stage2_llvm and builtin.mode == .ReleaseSafe) {
// https://github.com/ziglang/zig/issues/12178
return error.SkipZigTest;
}
const Foo = union(enum) {
A: u32,
B: bool,