Commit ad33e34836

Jakub Konka <kubkon@jakubkonka.com>
2021-05-05 19:04:14
tests: re-enable reduce behavior tests for wasm32
1 parent 9d40923
Changed files (1)
test
stage1
behavior
test/stage1/behavior/vector.zig
@@ -510,19 +510,6 @@ test "vector reduce operation" {
             const N = @typeInfo(@TypeOf(x)).Array.len;
             const TX = @typeInfo(@TypeOf(x)).Array.child;
 
-            // wasmtime: unknown import: `env::fminf` has not been defined
-            // https://github.com/ziglang/zig/issues/8131
-            switch (std.builtin.arch) {
-                .wasm32 => switch (@typeInfo(TX)) {
-                    .Float => switch (op) {
-                        .Min, .Max, => return,
-                        else => {},
-                    },
-                    else => {},
-                },
-                else => {},
-            }
-
             var r = @reduce(op, @as(Vector(N, TX), x));
             switch (@typeInfo(TX)) {
                 .Int, .Bool => expectEqual(expected, r),