File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ test = false
1010cc = { optional = true , version = " 1.0" }
1111
1212[dev-dependencies ]
13- panic-implementation = { path = ' crates/panic-implementation ' }
13+ panic-handler = { path = ' crates/panic-handler ' }
1414
1515[features ]
1616default = [" compiler-builtins" ]
Original file line number Diff line number Diff line change 11[package ]
2- name = " panic-implementation "
2+ name = " panic-handler "
33version = " 0.1.0"
44authors = [" Alex Crichton <alex@alexcrichton.com>" ]
55
Original file line number Diff line number Diff line change 11// Hack of a crate until rust-lang/rust#51647 is fixed
22
3- #![ feature( no_core, panic_implementation ) ]
3+ #![ feature( no_core, panic_handler ) ]
44#![ no_core]
55
66extern crate core;
77
8- #[ panic_implementation ]
8+ #[ panic_handler ]
99fn panic ( _: & core:: panic:: PanicInfo ) -> ! {
1010 loop { }
1111}
Original file line number Diff line number Diff line change 1111#![ feature( lang_items) ]
1212#![ feature( start) ]
1313#![ feature( allocator_api) ]
14- #![ feature( panic_implementation ) ]
14+ #![ feature( panic_handler ) ]
1515#![ cfg_attr( windows, feature( panic_unwind) ) ]
1616#![ no_std]
1717
18- extern crate panic_implementation ;
18+ extern crate panic_handler ;
1919
2020#[ cfg( not( thumb) ) ]
2121#[ link( name = "c" ) ]
You can’t perform that action at this time.
0 commit comments