diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-01-02 07:57:36 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-01-03 02:41:21 -0500 |
| commit | 98b633ff176f0ec5cc4d86c24ad4bece26cab421 (patch) | |
| tree | a3637955185df2a579e92526fa70eed5bd0895cd /lib/std/math.zig | |
| parent | ca4ee9ae73559062da24937ef4a7376d9d27bbeb (diff) | |
| download | zig-98b633ff176f0ec5cc4d86c24ad4bece26cab421.tar.gz zig-98b633ff176f0ec5cc4d86c24ad4bece26cab421.zip | |
Reapply "Merge pull request #17824 from kcbanner/fixup_msvc_fmax"
This reverts commit 2b589783602c5428ecde9dbb3f41a81f85eb0f25.
Diffstat (limited to 'lib/std/math.zig')
| -rw-r--r-- | lib/std/math.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig index 6e27df0b21..b7a44bd927 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -1266,6 +1266,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; |
