diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-03-05 20:17:29 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-03-06 19:38:50 +0100 |
| commit | 5a45fe2dba12e1440fabe0b4b594d69703640e17 (patch) | |
| tree | 39e0e284945be031e6583da771f32520148604e6 /test/behavior/slice.zig | |
| parent | 12e636c24e92dbe02508b89c1363c357ccef2192 (diff) | |
| download | zig-5a45fe2dba12e1440fabe0b4b594d69703640e17.tar.gz zig-5a45fe2dba12e1440fabe0b4b594d69703640e17.zip | |
wasm: Call `generateSymbol` for updateDecl
To unify the wasm backend with the other backends, we will now call `generateSymbol` to
lower a Decl into bytes. This means we also have to change some function signatures
to comply with the linker interface.
Since the general purpose generateSymbol is less featureful than wasm's, some tests are
temporarily disabled.
Diffstat (limited to 'test/behavior/slice.zig')
| -rw-r--r-- | test/behavior/slice.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index edb14e7f61..740eaefc90 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -209,6 +209,7 @@ test "compile time slice of pointer to hard coded address" { if (builtin.zig_backend == .stage1) return error.SkipZigTest; if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; try expect(@ptrToInt(x) == 0x1000); try expect(x.len == 0x500); |
