We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4288cce commit ceb55f2Copy full SHA for ceb55f2
uefi-services/src/lib.rs
@@ -187,14 +187,14 @@ fn panic_handler(info: &core::panic::PanicInfo) -> ! {
187
loop {
188
unsafe {
189
// Try to at least keep CPU from running at 100%
190
- asm!("hlt", options(nomem, nostack));
+ core::arch::asm!("hlt", options(nomem, nostack));
191
}
192
193
} else if #[cfg(target_arch = "aarch64")] {
194
195
196
197
- asm!("hlt 420", options(nomem, nostack));
+ core::arch::asm!("hlt 420", options(nomem, nostack));
198
199
200
} else {
0 commit comments