| author | |
| committer | |
| log | 17575019a0b46a8f03418587655ce98bc1b56899 |
| tree | f869669293af759084429c364ea8d1009410d6a3 |
| parent | bb3dfd2708067a0fd11d50b667361fb410fc1e2b |
With this tweak, `test-std` pass on Apple Silicon + BigSur.1 files changed, 4 insertions(+), 0 deletions(-)
lib/std/mem.zig+4| ... | ... | @@ -16,6 +16,10 @@ const testing = std.testing; |
| 16 | 16 | /// https://github.com/ziglang/zig/issues/2564 |
| 17 | 17 | pub const page_size = switch (builtin.arch) { |
| 18 | 18 | .wasm32, .wasm64 => 64 * 1024, |
| 19 | .aarch64 => switch (builtin.os.tag) { | |
| 20 | .macos, .ios, .watchos, .tvos => 16 * 1024, | |
| 21 | else => 4 * 1024, | |
| 22 | }, | |
| 19 | 23 | else => 4 * 1024, |
| 20 | 24 | }; |
| 21 | 25 |