Commit 215a0d61ab

Alexandros Naskos <alex_naskos@hotmail.com>
2020-05-31 17:53:32
Fix evented builds on windows with runtime safety on
1 parent 078e4af
Changed files (1)
lib
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});
                 }
             },