fix(ke): fix stale config check

This commit is contained in:
Loïc Grégoire
2026-04-24 14:59:17 -04:00
parent 45a987af0b
commit 3306b7e97f
+1 -1
View File
@@ -85,7 +85,7 @@ pub fn panic(
msg: []const u8,
first_trace_addr: ?usize,
) noreturn {
if (@hasDecl(config, "CONFIG_ARCH_UM")) {
if (config.arch == .um) {
std.debug.defaultPanic(msg, first_trace_addr);
}
panic_with_frame(msg, @frameAddress());