Update to zig master and simplify build script

This commit is contained in:
Andrew Kelley 2019-09-03 14:13:26 -04:00 committed by Sam Tebbs
parent b2ce5f6310
commit 798b1c1d34
9 changed files with 143 additions and 636 deletions

View file

@ -11,6 +11,13 @@ const serial = @import("serial.zig");
const mem = @import("mem.zig");
const options = @import("build_options");
comptime {
switch (builtin.arch) {
.i386 => _ = @import("arch/x86/boot.zig"),
else => {},
}
}
// Need to import this as we need the panic to be in the root source file, or zig will just use the
// builtin panic and just loop, which is what we don't want
const panic_root = @import("panic.zig");