test: disable 'switch on large types' behavior tests for wasm backend

The self-hosted wasm backend doesn't properly support very large integers yet.
This commit is contained in:
Justus Klausecker
2026-03-18 15:44:27 +01:00
parent dbe787a984
commit 0b857eebeb
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1459,6 +1459,8 @@ test "switch on nested packed containers" {
}
test "switch on large types" {
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
const S = struct {
fn doTheTest(a: u128, b: i500) !void {
switch (a) {
+2
View File
@@ -566,6 +566,8 @@ test "switch loop with packed unions with OPV" {
}
test "switch loop on large types" {
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
const S = struct {
fn doTheTest(a: u128, b: i500) !void {
label: switch (a) {