build: fix UM build

This commit is contained in:
Loïc Grégoire
2026-04-24 14:49:25 -04:00
parent 43c6ffa04e
commit 29f5eb37ef
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ pub const std_options = std.Options{
pub const panic = std.debug.FullPanic(ke.panic);
pub const main = if (@hasDecl(config, "CONFIG_ARCH_UM")) pl.impl.entry.main else undefined;
pub const main = if (config.arch == .um) pl.impl.entry.main else undefined;
comptime {
// Ensure the entry point is linked in.