build: fix build

This commit is contained in:
Loïc Grégoire
2026-03-28 14:52:30 -04:00
parent 5fe832d412
commit 9b6d38bbcc
4 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -132,6 +132,8 @@ pub fn build(b: *std.Build) void {
}),
});
rtl_tests.root_module.addImport("rtl", rtl_tests.root_module);
const run_tests = b.addRunArtifact(rtl_tests);
const test_step = b.step("test", "Run tests");
@@ -174,8 +176,7 @@ fn addKernel(b: *std.Build, plat: config.Platform, optimize: std.builtin.Optimiz
switch (bl) {
.Limine => "limine",
}
else
@tagName(plat.arch);
else if (plat.os == .linux) "um" else @tagName(plat.arch);
const root_source_file = b.fmt("src/platform/{s}/entry.zig", .{platform_name});