From 9df9374e9068ced2482bc79c7675b93f90427d33 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Thu, 29 Jan 2026 13:31:48 -0600 Subject: [PATCH] core: ensure comptime evaluation --- src/App.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.zig b/src/App.zig index 2ead3b9ad..3e83e414d 100644 --- a/src/App.zig +++ b/src/App.zig @@ -237,7 +237,7 @@ pub fn needsConfirmQuit(self: *const App) bool { /// Drain the mailbox. fn drainMailbox(self: *App, rt_app: *apprt.App) !void { while (self.mailbox.pop()) |message| { - if (std.log.logEnabled(.debug, .app)) { + if (comptime std.log.logEnabled(.debug, .app)) { switch (message) { // these tend to be way too verbose for normal debugging .redraw_surface, .redraw_inspector => {},