Update unit testing post for new panic handler

This commit is contained in:
Philipp Oppermann
2018-06-05 11:06:17 +02:00
parent ee07901388
commit c33811ae3d
2 changed files with 12 additions and 18 deletions

View File

@@ -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) -> ! {