aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bitcast.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-11-30 17:55:33 +0100
committerLuuk de Gram <luuk@degram.dev>2022-11-30 21:01:09 +0100
commit090deae41dbb79bcbe6a06d0bea0413f21576881 (patch)
tree9f9d33dfcc05756b31816182c2022c386f1487dd /test/behavior/bitcast.zig
parent3933a4bac5179c30cb6a08d6f1e42f9b44ce9599 (diff)
downloadzig-090deae41dbb79bcbe6a06d0bea0413f21576881.tar.gz
zig-090deae41dbb79bcbe6a06d0bea0413f21576881.zip
wasm: enable behavior tests for packed structs
Diffstat (limited to 'test/behavior/bitcast.zig')
-rw-r--r--test/behavior/bitcast.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/behavior/bitcast.zig b/test/behavior/bitcast.zig
index 0071996056..8b180f6d0b 100644
--- a/test/behavior/bitcast.zig
+++ b/test/behavior/bitcast.zig
@@ -18,7 +18,6 @@ test "@bitCast iX -> uX (32, 64)" {
}
test "@bitCast iX -> uX (8, 16, 128)" {
- if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
@@ -160,7 +159,6 @@ test "@bitCast packed structs at runtime and comptime" {
// stage1 gets the wrong answer for a lot of targets
return error.SkipZigTest;
}
- if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
@@ -187,7 +185,6 @@ test "@bitCast packed structs at runtime and comptime" {
}
test "@bitCast extern structs at runtime and comptime" {
- if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
const Full = extern struct {
@@ -218,7 +215,6 @@ test "@bitCast extern structs at runtime and comptime" {
}
test "bitcast packed struct to integer and back" {
- if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
@@ -257,8 +253,6 @@ test "implicit cast to error union by returning" {
}
test "bitcast packed struct literal to byte" {
- if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
-
const Foo = packed struct {
value: u8,
};