From 215a0d61ab50703e38111c2762ee735b1e097358 Mon Sep 17 00:00:00 2001 From: Alexandros Naskos Date: Sun, 31 May 2020 18:53:32 +0300 Subject: [PATCH] Fix evented builds on windows with runtime safety on --- lib/std/os/windows.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index baf4c7055597f9d33b6619fec5661b7f98bdec18..f00b339a5001ab49b3af62b4b504f0a330c53d01 100644 --- a/lib/std/os/windows.zig +++ b/lib/std/os/windows.zig @@ -391,6 +391,7 @@ pub fn GetQueuedCompletionStatus( .HANDLE_EOF => return GetQueuedCompletionStatusResult.EOF, else => |err| { if (std.debug.runtime_safety) { + @setEvalBranchQuota(2500); std.debug.panic("unexpected error: {}\n", .{err}); } }, -- 2.54.0