Explorar el Código

`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"
Paolo Teti hace 6 años
padre
commit
8bfd4374b6
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 1 1
      crates/panic-handler/src/lib.rs
  2. 0 1
      examples/intrinsics.rs

+ 1 - 1
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;

+ 0 - 1
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]