| ... | ... | @@ -3700,6 +3700,13 @@ pub fn alignInSlice(slice: anytype, comptime new_alignment: usize) ?AlignedSlice |
| 3700 | 3700 | } |
| 3701 | 3701 | |
| 3702 | 3702 | test "read/write(Var)PackedInt" { |
| 3703 | switch (builtin.cpu.arch) { |
| 3704 | // This test generates too much code to execute on WASI. |
| 3705 | // LLVM backend fails with "too many locals: locals exceed maximum" |
| 3706 | .wasm32, .wasm64 => return error.SkipZigTest, |
| 3707 | else => {}, |
| 3708 | } |
| 3709 | |
| 3703 | 3710 | const foreign_endian: Endian = if (native_endian == .Big) .Little else .Big; |
| 3704 | 3711 | const expect = std.testing.expect; |
| 3705 | 3712 | var prng = std.rand.DefaultPrng.init(1234); |