From 33ede13072c500eead5c3bce6914d8e013a9d406 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 24 Mar 2024 21:28:30 -0700 Subject: [PATCH] terminal: fix release builds --- src/terminal/page.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/page.zig b/src/terminal/page.zig index 74f81b3f8..e09a646e8 100644 --- a/src/terminal/page.zig +++ b/src/terminal/page.zig @@ -103,7 +103,7 @@ pub const Page = struct { /// If this is true then verifyIntegrity will do nothing. This is /// only present with runtime safety enabled. pause_integrity_checks: if (std.debug.runtime_safety) usize else void = - if (std.debug.runtime_safety) 0 else void, + if (std.debug.runtime_safety) 0 else {}, /// Initialize a new page, allocating the required backing memory. /// The size of the initialized page defaults to the full capacity.