mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 06:47:49 +00:00
Update unit testing post for new panic handler
This commit is contained in:
@@ -29,6 +29,7 @@ pub extern "C" fn _start() -> ! {
|
||||
}
|
||||
|
||||
/// This function is called on panic.
|
||||
#[cfg(not(test))]
|
||||
#[panic_implementation]
|
||||
#[no_mangle]
|
||||
pub fn panic(info: &PanicInfo) -> ! {
|
||||
|
||||
Reference in New Issue
Block a user