New comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/issues/48260#issuecomment-2108707715 Comment: For zig, we may consider this patch to mem.zig: ``` pub const page_size = switch (builtin.cpu.arch) { .wasm32, .wasm64 => 64 * 1024, .aarch64 => switch (builtin.os.tag) { + .macos, .ios, .watchos, .tvos, .linux => 16 * 1024, - .macos, .ios, .watchos, .tvos, => 16 * 1024, else => 4 * 1024, }, .sparc64 => 8 * 1024, else => 4 * 1024, }; ``` I don't know how many aarch64 machines this would break, but at least it could be usable on rpi5 and apple.