Skip to content

Commit 7dd50be

Browse files
misc(unwind): fix compilation on latest rust
Signed-off-by: Anhad Singh <[email protected]>
1 parent 3439032 commit 7dd50be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aero_kernel/src/unwind.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub fn unwind_stack_trace() {
161161
log::trace!("{depth:>2}: 0x{rip:016x} - <unknown>");
162162
}
163163
} else {
164-
log::trace!("{:>2}: 0x{:016x} - <unknown>", depth, rip);
164+
log::trace!("{depth:>2}: 0x{rip:016x} - <unknown>");
165165
}
166166
} else {
167167
// RBP has been overflowed...
@@ -186,7 +186,7 @@ use crate::utils::sync::IrqGuard;
186186
fn rust_begin_unwind(info: &PanicInfo) -> ! {
187187
prepare_panic();
188188

189-
let message = info.message().unwrap();
189+
let message = info.message();
190190
let location = info.location().unwrap();
191191

192192
// Get the CPU ID where this panic happened and if PANIC_HOOK_READY is false

0 commit comments

Comments
 (0)