mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 21:58:20 +00:00
fix(ke): fix stale config check
This commit is contained in:
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user