Skip to content

Commit feb05a7

Browse files
committed
std.heap: define page size for alpha-netbsd
1 parent 70206af commit feb05a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/std/heap.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {
736736
},
737737
.netbsd => switch (builtin.cpu.arch) {
738738
// NetBSD/sys/arch/*
739+
.alpha => 8 << 10,
739740
.x86, .x86_64 => 4 << 10,
740741
.thumb, .thumbeb, .arm, .armeb => 4 << 10,
741742
.aarch64, .aarch64_be => 4 << 10,
@@ -894,6 +895,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {
894895
},
895896
.netbsd => switch (builtin.cpu.arch) {
896897
// NetBSD/sys/arch/*
898+
.alpha => 8 << 10,
897899
.x86, .x86_64 => 4 << 10,
898900
.thumb, .thumbeb, .arm, .armeb => 4 << 10,
899901
.aarch64, .aarch64_be => 64 << 10,

0 commit comments

Comments
 (0)