From 8bfd4374b6f74b25fe27c5bebae64229fe15c3f8 Mon Sep 17 00:00:00 2001 From: Paolo Teti Date: Thu, 13 Sep 2018 10:10:52 +0200 Subject: [PATCH] `panic_handler` is now stable Fixes the following warning: "warning: the feature `panic_handler` has been stable since 1.30.0 and no longer requires an attribute to enable" --- crates/panic-handler/src/lib.rs | 2 +- examples/intrinsics.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/panic-handler/src/lib.rs b/crates/panic-handler/src/lib.rs index e970610..a75999a 100644 --- a/crates/panic-handler/src/lib.rs +++ b/crates/panic-handler/src/lib.rs @@ -1,6 +1,6 @@ // Hack of a crate until rust-lang/rust#51647 is fixed -#![feature(no_core, panic_handler)] +#![feature(no_core)] #![no_core] extern crate core; diff --git a/examples/intrinsics.rs b/examples/intrinsics.rs index a5be573..1c49817 100644 --- a/examples/intrinsics.rs +++ b/examples/intrinsics.rs @@ -11,7 +11,6 @@ #![feature(lang_items)] #![feature(start)] #![feature(allocator_api)] -#![feature(panic_handler)] #![cfg_attr(windows, feature(panic_unwind))] #![no_std]