Skip to content

Commit c2ca02d

Browse files
josephlrphil-opp
authored andcommitted
Remove stabilized features (#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 14bb195 commit c2ca02d

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

@@ -214,7 +213,7 @@ fn enable_write_protect_bit() {
214213
unsafe { Cr0::update(|cr0| *cr0 |= Cr0Flags::WRITE_PROTECT) };
215214
}
216215

217-
#[panic_implementation]
216+
#[panic_handler]
218217
#[no_mangle]
219218
pub extern "C" fn panic(info: &PanicInfo) -> ! {
220219
use core::fmt::Write;

0 commit comments

Comments
 (0)