diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index 575665cf7f3bd87ec22579c035a7c5a49a85f5ec..29ceb061c1751929d06b57bf0d88807d91b021c0 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -181,6 +181,7 @@ test "slicing zero length array" { } test "slicing pointer by length" { + if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; const array = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 }; const ptr: [*]const u8 = @ptrCast([*]const u8, &array); const slice = ptr[1..][0..5];