Skip to content

Commit 215a0d6

Browse files
alexnaskandrewrk
authored andcommitted
Fix evented builds on windows with runtime safety on
1 parent 078e4af commit 215a0d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/os/windows.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ pub fn GetQueuedCompletionStatus(
391391
.HANDLE_EOF => return GetQueuedCompletionStatusResult.EOF,
392392
else => |err| {
393393
if (std.debug.runtime_safety) {
394+
@setEvalBranchQuota(2500);
394395
std.debug.panic("unexpected error: {}\n", .{err});
395396
}
396397
},

0 commit comments

Comments
 (0)