From 39083d444f884bb35355d867d6719e8cbb464545 Mon Sep 17 00:00:00 2001 From: Archbirdplus Date: Tue, 13 Aug 2024 18:53:11 -0700 Subject: [PATCH] page size: remove redundant std.debug from assert --- lib/std/heap.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/std/heap.zig b/lib/std/heap.zig index 47c29fe7ae1b..85c225c5365a 100644 --- a/lib/std/heap.zig +++ b/lib/std/heap.zig @@ -96,7 +96,7 @@ pub inline fn pageSize() usize { return page_size; } const size = queryPageSize(); - std.debug.assert(size > 0); + assert(size > 0); return size; } @@ -135,8 +135,8 @@ fn queryPageSize() usize { }; if (size != 0) { - std.debug.assert(size >= page_size); - std.debug.assert(size <= page_size_max); + assert(size >= page_size); + assert(size <= page_size_max); } runtime_page_size.store(size, .unordered);