diff options
| author | Alexandros Naskos <alex_naskos@hotmail.com> | 2020-05-31 18:53:32 +0300 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-06-01 14:22:45 -0400 |
| commit | 215a0d61ab50703e38111c2762ee735b1e097358 (patch) | |
| tree | 83c573647430ef3c2fdccca736eacb5b0597f136 /lib/std | |
| parent | 078e4afdaf496d83799b6770d5e11ecf099b1e42 (diff) | |
| download | zig-215a0d61ab50703e38111c2762ee735b1e097358.tar.gz zig-215a0d61ab50703e38111c2762ee735b1e097358.zip | |
Fix evented builds on windows with runtime safety on
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/os/windows.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig index baf4c70555..f00b339a50 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}); } }, |
