std: fix compile error for unsupported os

This commit is contained in:
Andrew Kelley 2016-09-13 15:36:30 -04:00
parent 6abd8b6405
commit ea2f6594ce

View File

@ -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");