From 8c0e0cd3535d4e59a01dc49f9b93c922ca63114f Mon Sep 17 00:00:00 2001 From: kcbanner Date: Sun, 5 Nov 2023 20:34:05 -0500 Subject: [PATCH] cbe: skip std.math.lerp test that fails when compiler_rt fma is used --- lib/std/math.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/math.zig b/lib/std/math.zig index b18d5bc3ed..9adfd191d5 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -1265,6 +1265,7 @@ pub fn lerp(a: anytype, b: anytype, t: anytype) @TypeOf(a, b, t) { } test "lerp" { + if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/17884 if (builtin.zig_backend == .stage2_x86_64 and !comptime std.Target.x86.featureSetHas(builtin.cpu.features, .fma)) return error.SkipZigTest;