behavior: fix comptime issue and disable failing test

This commit is contained in:
Jacob Young
2023-03-05 03:29:50 -05:00
parent 33fa25ba44
commit 7352d461cf
3 changed files with 15 additions and 2 deletions

View File

@@ -96,6 +96,13 @@ test "vector float operators" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.os.tag == .windows and builtin.cpu.arch == .aarch64 and
builtin.zig_backend == .stage2_c)
{
// https://github.com/ziglang/zig/issues/13876
return error.SkipZigTest;
}
inline for ([_]type{ f16, f32, f64, f80, f128 }) |T| {
const S = struct {
fn doTheTest() !void {