mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
std: fix compile error for unsupported os
This commit is contained in:
parent
6abd8b6405
commit
ea2f6594ce
@ -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");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user