diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-01-16 04:20:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-16 04:20:41 -0500 |
| commit | d4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6 (patch) | |
| tree | 160d596e8ab0ab9568dac3f026c2ce42ad1c935e /test/behavior | |
| parent | 77273103a8f9895ceab28287dffcf4d4c6fcb91b (diff) | |
| parent | eda8b6e137a10f398cd292b533e924960f7fc409 (diff) | |
| download | zig-d4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6.tar.gz zig-d4fe4698d9ff865ed1dc7e0163f2d5fcbe2b45a6.zip | |
Merge pull request #22220 from ziglang/wasm-linker
wasm linker: aggressive rewrite towards Data-Oriented Design
Diffstat (limited to 'test/behavior')
| -rw-r--r-- | test/behavior/export_builtin.zig | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/behavior/export_builtin.zig b/test/behavior/export_builtin.zig index 6ca10376a1..bd53a1df93 100644 --- a/test/behavior/export_builtin.zig +++ b/test/behavior/export_builtin.zig @@ -6,6 +6,11 @@ test "exporting enum value" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.cpu.arch.isWasm()) { + // https://github.com/ziglang/zig/issues/4866 + return error.SkipZigTest; + } + const S = struct { const E = enum(c_int) { one, two }; const e: E = .two; @@ -33,6 +38,11 @@ test "exporting using namespace access" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.cpu.arch.isWasm()) { + // https://github.com/ziglang/zig/issues/4866 + return error.SkipZigTest; + } + const S = struct { const Inner = struct { const x: u32 = 5; @@ -46,7 +56,6 @@ test "exporting using namespace access" { } test "exporting comptime-known value" { - if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64 and (builtin.target.ofmt != .elf and @@ -56,6 +65,11 @@ test "exporting comptime-known value" { if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; + if (builtin.cpu.arch.isWasm()) { + // https://github.com/ziglang/zig/issues/4866 + return error.SkipZigTest; + } + const x: u32 = 10; @export(&x, .{ .name = "exporting_comptime_known_value_foo" }); const S = struct { |
