diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 15:36:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-01 15:36:16 -0800 |
| commit | 7161ed79c4abcaccdd56fe0b4fbd3d93472d41b8 (patch) | |
| tree | 0844cb58bfcb9ac48fc517738c0b78ff677007ab /lib/std/math.zig | |
| parent | 3f2a65594e1d3c0a4f4943a4ea522e8405db81e0 (diff) | |
| parent | 50e2fb8fd0e1aae5fc3123d6f26d7420d4baa41c (diff) | |
| download | zig-7161ed79c4abcaccdd56fe0b4fbd3d93472d41b8.tar.gz zig-7161ed79c4abcaccdd56fe0b4fbd3d93472d41b8.zip | |
Merge pull request #17824 from kcbanner/fixup_msvc_fmax
cbe: add a system for avoiding collisions with C compiler intrinsics
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; |
