Skip to content

Commit 342ba96

Browse files
jedisct1andrewrk
authored andcommitted
sparc64 has a 8Kb page size
1 parent ede4175 commit 342ba96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/mem.zig

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub const page_size = switch (builtin.arch) {
2020
.macos, .ios, .watchos, .tvos => 16 * 1024,
2121
else => 4 * 1024,
2222
},
23+
.sparcv9 => 8 * 1024,
2324
else => 4 * 1024,
2425
};
2526

0 commit comments

Comments
 (0)