Skip to content

Commit 8e4e76c

Browse files
josephlrNickforall
authored andcommitted
Remove stabilized features (rust-osdev#25)
panic_implemenation was renamed to panic_handler: rust-lang/rust#44489 (comment) panic_handler was stablized: rust-lang/rust#51366 `cargo check` now succeeds without warnings
1 parent deed7a2 commit 8e4e76c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![feature(asm)]
66
#![feature(nll)]
77
#![feature(const_fn)]
8-
#![feature(panic_implementation)]
98
#![no_std]
109
#![no_main]
1110

@@ -233,7 +232,7 @@ fn enable_write_protect_bit() {
233232
unsafe { Cr0::update(|cr0| *cr0 |= Cr0Flags::WRITE_PROTECT) };
234233
}
235234

236-
#[panic_implementation]
235+
#[panic_handler]
237236
#[no_mangle]
238237
pub extern "C" fn panic(info: &PanicInfo) -> ! {
239238
use core::fmt::Write;

0 commit comments

Comments
 (0)