zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 8c0e0cd3535d4e59a01dc49f9b93c922ca63114f (tree)
parent a4526d260b6e96866e86c9e47bec5cf6fa5a0105
Author: kcbanner <kcbanner@gmail.com>
Date:   Sun,  5 Nov 2023 20:34:05 -0500

cbe: skip std.math.lerp test that fails when compiler_rt fma is used

Diffstat:
Mlib/std/math.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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;