print build-CPU info on boot

This commit is contained in:
Quinten Kock 2020-12-21 15:03:23 +01:00
parent 1604f22afd
commit a740f46ec3
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ const c = @cImport({
export fn zigmain() void {
// // const message: [*:0]const u8 = "hello, zig!\n";
std.log.info("All your codebase are belong to us.", .{});
std.log.debug("CPU info: {}", .{builtin.cpu});
c.puts("zig ee\n");
kalloc.kallocNop();