astryon/core/src/arch/platform.zig
Gabriel fce8a58cf6
Ready. Set. Go!
Microkernel development in Zig, should be fun! =]
2025-02-13 22:39:48 +01:00

10 lines
237 B
Zig

const std = @import("std");
const target = @import("builtin").target;
pub const arch = switch (target.cpu.arch) {
.x86_64 => @import("x86_64/platform.zig"),
else => {
@compileError("unsupported architecture");
},
};