mirror of
https://github.com/rdmsr/zag.git
synced 2026-11-01 15:48:21 +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,
|
msg: []const u8,
|
||||||
first_trace_addr: ?usize,
|
first_trace_addr: ?usize,
|
||||||
) noreturn {
|
) noreturn {
|
||||||
if (@hasDecl(config, "CONFIG_ARCH_UM")) {
|
if (config.arch == .um) {
|
||||||
std.debug.defaultPanic(msg, first_trace_addr);
|
std.debug.defaultPanic(msg, first_trace_addr);
|
||||||
}
|
}
|
||||||
panic_with_frame(msg, @frameAddress());
|
panic_with_frame(msg, @frameAddress());
|
||||||
|
|||||||
Reference in New Issue
Block a user