aboutsummaryrefslogtreecommitdiff
path: root/std/debug.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-15 16:45:43 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-15 16:45:43 -0400
commitfcef7c4bb2f8705774b9d53c8f81a8e74cbcb630 (patch)
tree0cc9202dac3d1715d1cd4f02ae899d7a579422a1 /std/debug.zig
parentbb169a7b36a658ed463787655df54e3f59133d98 (diff)
downloadzig-fcef7c4bb2f8705774b9d53c8f81a8e74cbcb630.tar.gz
zig-fcef7c4bb2f8705774b9d53c8f81a8e74cbcb630.zip
fix std.io.InStream for windows
now we handle PIPE_BROKEN as an EOF also set up framework for debugging unexpected posix/windows errors
Diffstat (limited to 'std/debug.zig')
-rw-r--r--std/debug.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/debug.zig b/std/debug.zig
index aef67c315f..24f4be9fe1 100644
--- a/std/debug.zig
+++ b/std/debug.zig
@@ -11,6 +11,7 @@ error MissingDebugInfo;
error InvalidDebugInfo;
error UnsupportedDebugInfo;
+
pub fn assert(ok: bool) {
if (!ok) {
// In ReleaseFast test mode, we still want assert(false) to crash, so