Commit 8c0e0cd353

kcbanner <kcbanner@gmail.com>
2023-11-06 02:34:05
cbe: skip std.math.lerp test that fails when compiler_rt fma is used
1 parent a4526d2
Changed files (1)
lib
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;