mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Fix panic_handler test by fixing line number
This commit is contained in:
@@ -9,7 +9,7 @@ use core::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
const MESSAGE: &str = "Example panic message from panic_handler test";
|
const MESSAGE: &str = "Example panic message from panic_handler test";
|
||||||
const PANIC_LINE: u32 = 14; // adjust this when moving the `panic!` call
|
const PANIC_LINE: u32 = 17; // adjust this when moving the `panic!` call
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub extern "C" fn _start() -> ! {
|
pub extern "C" fn _start() -> ! {
|
||||||
|
|||||||
Reference in New Issue
Block a user