Skip to content

Commit

Permalink
Remove stabilized features (#25)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
josephlr authored and phil-opp committed Sep 30, 2018
1 parent 11cc39e commit 669333b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rost_bootloader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#![feature(asm)]
#![feature(nll)]
#![feature(const_fn)]
#![feature(panic_implementation)]
#![no_std]
#![no_main]

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

#[panic_implementation]
#[panic_handler]
#[no_mangle]
pub extern "C" fn panic(info: &PanicInfo) -> ! {
use core::fmt::Write;
Expand Down

0 comments on commit 669333b

Please sign in to comment.