This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11#![ no_std]
2- #![ feature( panic_implementation ) ]
2+ #![ feature( panic_handler ) ]
33#![ cfg_attr( feature = "strict" , deny( warnings) ) ]
44
55#![ feature( alloc) ]
Original file line number Diff line number Diff line change 1818
1919#![ cfg_attr( not( feature = "std" ) , no_std) ]
2020#![ cfg_attr( not( feature = "std" ) , feature( lang_items) ) ]
21- #![ cfg_attr( not( feature = "std" ) , feature( panic_implementation ) ) ]
21+ #![ cfg_attr( not( feature = "std" ) , feature( panic_handler ) ) ]
2222#![ cfg_attr( not( feature = "std" ) , feature( alloc_error_handler) ) ]
2323#![ cfg_attr( not( feature = "std" ) , feature( core_intrinsics) ) ]
2424#![ cfg_attr( not( feature = "std" ) , feature( alloc) ) ]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ use core::intrinsics;
2727use rstd:: vec:: Vec ;
2828pub use rstd:: { mem, slice} ;
2929
30- #[ panic_implementation ]
30+ #[ panic_handler ]
3131#[ no_mangle]
3232pub fn panic ( info : & :: core:: panic:: PanicInfo ) -> ! {
3333 unsafe {
Original file line number Diff line number Diff line change 3737
3838#![ warn( missing_docs) ]
3939#![ cfg_attr( not( feature = "std" ) , no_std) ]
40- #![ cfg_attr( not( feature = "std" ) , feature( panic_implementation ) ) ]
40+ #![ cfg_attr( not( feature = "std" ) , feature( panic_handler ) ) ]
4141#![ cfg_attr( not( feature = "std" ) , feature( core_intrinsics) ) ]
4242#![ cfg_attr( not( feature = "std" ) , feature( alloc) ) ]
4343
Original file line number Diff line number Diff line change 1818//! or core/alloc to be used with any code that depends on the runtime.
1919
2020#![ cfg_attr( not( feature = "std" ) , no_std) ]
21- #![ cfg_attr( not( feature = "std" ) , feature( panic_implementation ) ) ]
21+ #![ cfg_attr( not( feature = "std" ) , feature( panic_handler ) ) ]
2222#![ cfg_attr( not( feature = "std" ) , feature( core_intrinsics) ) ]
2323#![ cfg_attr( not( feature = "std" ) , feature( alloc) ) ]
2424
You can’t perform that action at this time.
0 commit comments