mirror of
https://github.com/ziglang/zig.git
synced 2024-12-14 23:30:15 +00:00
parent
5e63baae8d
commit
e8e305b67c
@ -2412,10 +2412,6 @@ test "vector" {
|
||||
// https://github.com/ziglang/zig/issues/4486
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
if (builtin.target.cpu.arch == .wasm32) {
|
||||
// https://github.com/ziglang/zig/issues/5339
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
const vbool: std.meta.Vector(4, bool) = [_]bool{ true, false, true, false };
|
||||
const vi64: std.meta.Vector(4, i64) = [_]i64{ -2, -1, 0, 1 };
|
||||
|
@ -5,9 +5,6 @@ const expect = std.testing.expect;
|
||||
const Vector = std.meta.Vector;
|
||||
|
||||
test "@shuffle" {
|
||||
// TODO investigate why this fails when cross-compiling to wasm.
|
||||
if (builtin.os.tag == .wasi) return error.SkipZigTest;
|
||||
|
||||
const S = struct {
|
||||
fn doTheTest() !void {
|
||||
var v: Vector(4, i32) = [4]i32{ 2147483647, -2, 30, 40 };
|
||||
|
@ -412,9 +412,6 @@ test "vector bitwise not operator" {
|
||||
}
|
||||
|
||||
test "vector shift operators" {
|
||||
// TODO investigate why this fails when cross-compiled to wasm.
|
||||
if (builtin.target.os.tag == .wasi) return error.SkipZigTest;
|
||||
|
||||
const S = struct {
|
||||
fn doTheTestShift(x: anytype, y: anytype) !void {
|
||||
const N = @typeInfo(@TypeOf(x)).Array.len;
|
||||
|
Loading…
Reference in New Issue
Block a user