We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11cc39e commit 669333bCopy full SHA for 669333b
rost_bootloader/src/main.rs
@@ -5,7 +5,6 @@
5
#![feature(asm)]
6
#![feature(nll)]
7
#![feature(const_fn)]
8
-#![feature(panic_implementation)]
9
#![no_std]
10
#![no_main]
11
@@ -214,7 +213,7 @@ fn enable_write_protect_bit() {
214
213
unsafe { Cr0::update(|cr0| *cr0 |= Cr0Flags::WRITE_PROTECT) };
215
}
216
217
-#[panic_implementation]
+#[panic_handler]
218
#[no_mangle]
219
pub extern "C" fn panic(info: &PanicInfo) -> ! {
220
use core::fmt::Write;
0 commit comments