Skip to content

Commit 8bfd437

Browse files
committed
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"
1 parent 5a88717 commit 8bfd437

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/panic-handler/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Hack of a crate until rust-lang/rust#51647 is fixed
22

3-
#![feature(no_core, panic_handler)]
3+
#![feature(no_core)]
44
#![no_core]
55

66
extern crate core;

examples/intrinsics.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#![feature(lang_items)]
1212
#![feature(start)]
1313
#![feature(allocator_api)]
14-
#![feature(panic_handler)]
1514
#![cfg_attr(windows, feature(panic_unwind))]
1615
#![no_std]
1716

0 commit comments

Comments
 (0)