mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
Fix evented builds on windows with runtime safety on
This commit is contained in:
parent
078e4afdaf
commit
215a0d61ab
@ -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});
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user