commit 21064d9144433d0ceaa7c1d902ecbb2471f0546c (tree)
parent 1ec50613bf2c492839fe798aeaaae789344eedf4
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 20 Jul 2022 12:50:58 -0700
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.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/std/hash/auto_hash.zig b/lib/std/hash/auto_hash.zig
@@ -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,