aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-09 15:43:33 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-09 15:43:33 -0700
commit31281a7d14a843f25156a731dd2108a7018680ad (patch)
treeb9cf084a9e3f5d755f8f26013ae0e0fd04a88c94 /lib/std/math.zig
parent321fec1aa679f549503b13cda463fef8c3d616b8 (diff)
downloadzig-31281a7d14a843f25156a731dd2108a7018680ad.tar.gz
zig-31281a7d14a843f25156a731dd2108a7018680ad.zip
disable regressed math.sign test case
see #12012
Diffstat (limited to 'lib/std/math.zig')
-rw-r--r--lib/std/math.zig4
1 files changed, 4 insertions, 0 deletions
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();
}