Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7dd50be

Browse files
misc(unwind): fix compilation on latest rust
Signed-off-by: Anhad Singh <andypythonappdeveloper@gmail.com>
1 parent3439032 commit7dd50be

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
fnrust_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)

[8]ページ先頭

©2009-2025 Movatter.jp