mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Run rustfmt
This commit is contained in:
@@ -203,9 +203,12 @@ Compiling for our new target will use Linux conventions (I'm not quite sure why,
|
||||
|
||||
#[lang = "panic_fmt"] // define a function that should be called on panic
|
||||
#[no_mangle]
|
||||
pub extern "C" fn rust_begin_panic(_msg: core::fmt::Arguments,
|
||||
_file: &'static str, _line: u32, _column: u32) -> !
|
||||
{
|
||||
pub extern "C" fn rust_begin_panic(
|
||||
_msg: core::fmt::Arguments,
|
||||
_file: &'static str,
|
||||
_line: u32,
|
||||
_column: u32,
|
||||
) -> ! {
|
||||
loop {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user