refactor(macos)!: change std.mem.page_size to std.heap.page_size_min because of zig v0.14.0

This commit is contained in:
utox39 committed 2025-03-07 16:04:08 +01:00
1 parent 78ad6fd841
commit 62fcba9a69
1 file changed
+1 -1
+1 -1
View File
@@ -243,7 +243,7 @@ pub fn getRamInfo() !RamInfo {
return error.HostStatistics64Failed;
}
const page_size: u64 = std.mem.page_size;
const page_size: u64 = std.heap.page_size_min;
const ram_usage = (info.active_count + info.wire_count) * page_size;
// Converts Bytes to Gigabytes