aboutsummaryrefslogtreecommitdiff
path: root/std/os.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-05 17:01:54 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-05 17:01:54 -0400
commit768a9780ca26166b4481c06e87bc6d090be71b64 (patch)
tree2d08078aeadf2a403bf53d11127c523f166f6cef /std/os.zig
parentf2a5fe443c5e0178c448d0737d0be037a100e469 (diff)
downloadzig-768a9780ca26166b4481c06e87bc6d090be71b64.tar.gz
zig-768a9780ca26166b4481c06e87bc6d090be71b64.zip
rename compileErr builtin to compileError
Diffstat (limited to 'std/os.zig')
-rw-r--r--std/os.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/os.zig b/std/os.zig
index 869054e012..13cfe7257f 100644
--- a/std/os.zig
+++ b/std/os.zig
@@ -18,7 +18,7 @@ pub fn getRandomBytes(buf: []u8) -> %void {
}
}
},
- else => @compileErr("unsupported os"),
+ else => @compileError("unsupported os"),
}
}
@@ -30,6 +30,6 @@ pub fn abort() -> unreachable {
linux.raise(linux.SIGKILL);
while (true) {}
},
- else => @compileErr("unsupported os"),
+ else => @compileError("unsupported os"),
}
}