Skip to content

Commit

Permalink
Update mimalloc.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 23, 2024
1 parent ba55688 commit 1ccd0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allocators/mimalloc.zig
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ pub fn canUseAlignedAlloc(_: usize, alignment: usize) bool {
return false; // no need for aligned allocation
}

return false;
return true;
}
const MI_MAX_ALIGN_SIZE = 16;
inline fn mi_malloc_satisfies_alignment(alignment: usize, size: usize) bool {
Expand Down

0 comments on commit 1ccd0a4

Please sign in to comment.