aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-03-06 16:52:10 +0100
committerLuuk de Gram <luuk@degram.dev>2022-03-06 19:38:53 +0100
commit70fc6e37766c3c0b7d75854055fa3f862d4025f7 (patch)
treeb9ad100bee4c13f53a1618fcbe0c030e24b2bc36 /test/behavior/struct.zig
parent5a45fe2dba12e1440fabe0b4b594d69703640e17 (diff)
downloadzig-70fc6e37766c3c0b7d75854055fa3f862d4025f7.tar.gz
zig-70fc6e37766c3c0b7d75854055fa3f862d4025f7.zip
wasm: call into `generateSymbol` when lowering
This also unifies the wasm backend to use `generateSymbol` when lowering a constant that cannot be lowered to an immediate value. As both decls and constants are now refactored, the old `genTypedValue` is removed.
Diffstat (limited to 'test/behavior/struct.zig')
-rw-r--r--test/behavior/struct.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index 32e374d3d5..f23d67a580 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -856,6 +856,7 @@ test "non-packed struct with u128 entry in union" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
const U = union(enum) {
Num: u128,