use core::arch::asm; #[allow(clippy::missing_safety_doc)] pub unsafe fn halt() { unsafe { asm!("wfi"); } }