diff --git a/lib/std/heap/PageAllocator.zig b/lib/std/heap/PageAllocator.zig index db736036b3f416d34a934b7185ac4a953affa303..1adac776bb9ac7a1d145bc7a5e464eedefd84f29 100644 --- a/lib/std/heap/PageAllocator.zig +++ b/lib/std/heap/PageAllocator.zig @@ -24,6 +24,7 @@ pub const vtable: Allocator.VTable = .{ /// that don't provide a hint (for security reasons, but it serves our needs /// too). const enable_hints = switch (builtin.target.os.tag) { + .linux => !builtin.target.cpu.arch.isSPARC(), // https://bugzilla.kernel.org/show_bug.cgi?id=221820 .openbsd => false, else => true, };