Skip to content

Commit 3383945

Browse files
committed
Cargo clippy
1 parent 24ddad1 commit 3383945

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@ impl Termination for () {
3737
#[cfg_attr(not(test), panic_handler)]
3838
#[no_mangle]
3939
pub fn panic(_info: &PanicInfo<'_>) -> ! {
40+
#[allow(clippy::empty_loop)]
4041
loop {}
4142
}
43+
44+
#[cfg_attr(not(test), lang = "eh_personality")]
45+
#[no_mangle]
46+
pub extern fn rust_eh_personality() {}

0 commit comments

Comments
 (0)