From ea2f6594ce02187875ce052c1a7c43acf60884f9 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 13 Sep 2016 15:36:30 -0400 Subject: [PATCH] std: fix compile error for unsupported os --- std/linux.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/linux.zig b/std/linux.zig index d02b602ca3..cf7d0768b1 100644 --- 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");