Skip to content

Commit ceb55f2

Browse files
toku-sa-nnicholasbishop
authored andcommitted
fix: build error on the latest nightly
`qemu-exit` crate also must be updated. I sent a PR: rust-embedded/qemu-exit#20
1 parent 4288cce commit ceb55f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uefi-services/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ fn panic_handler(info: &core::panic::PanicInfo) -> ! {
187187
loop {
188188
unsafe {
189189
// Try to at least keep CPU from running at 100%
190-
asm!("hlt", options(nomem, nostack));
190+
core::arch::asm!("hlt", options(nomem, nostack));
191191
}
192192
}
193193
} else if #[cfg(target_arch = "aarch64")] {
194194
loop {
195195
unsafe {
196196
// Try to at least keep CPU from running at 100%
197-
asm!("hlt 420", options(nomem, nostack));
197+
core::arch::asm!("hlt 420", options(nomem, nostack));
198198
}
199199
}
200200
} else {

0 commit comments

Comments
 (0)