zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ea2f6594ce02187875ce052c1a7c43acf60884f9 (tree)
parent 6abd8b640526aeb40d69d427a9c23a3f0fb4400a
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Tue, 13 Sep 2016 15:36:30 -0400

std: fix compile error for unsupported os

Diffstat:
Mstd/linux.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/std/linux.zig b/std/linux.zig @@ -1,7 +1,7 @@ const arch = switch (@compileVar("arch")) { x86_64 => @import("linux_x86_64.zig"), i386 => @import("linux_i386.zig"), - else => @compile_err("unsupported arch"), + else => @compileError("unsupported arch"), }; const errno = @import("errno.zig");