From 31281a7d14a843f25156a731dd2108a7018680ad Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 9 Jul 2022 15:43:33 -0700 Subject: [PATCH] disable regressed math.sign test case see #12012 --- lib/std/math.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/std/math.zig b/lib/std/math.zig index 6076f0e4e7..c249ae04e8 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -1653,6 +1653,10 @@ test "sign" { // https://github.com/ziglang/zig/issues/12012 return error.SkipZigTest; } + if ((builtin.zig_backend == .stage1) and builtin.cpu.arch == .x86_64) { + // https://github.com/ziglang/zig/issues/12012 + return error.SkipZigTest; + } try testSign(); comptime try testSign(); }