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
10
10
cc = { optional = true , version = " 1.0" }
11
11
12
12
[dev-dependencies ]
13
- panic-implementation = { path = ' crates/panic-implementation ' }
13
+ panic-handler = { path = ' crates/panic-handler ' }
14
14
15
15
[features ]
16
16
default = [" compiler-builtins" ]
Original file line number Diff line number Diff line change 1
1
[package ]
2
- name = " panic-implementation "
2
+ name = " panic-handler "
3
3
version = " 0.1.0"
4
4
authors = [" Alex Crichton <alex@alexcrichton.com>" ]
5
5
Original file line number Diff line number Diff line change 1
1
// Hack of a crate until rust-lang/rust#51647 is fixed
2
2
3
- #![ feature( no_core, panic_implementation ) ]
3
+ #![ feature( no_core, panic_handler ) ]
4
4
#![ no_core]
5
5
6
6
extern crate core;
7
7
8
- #[ panic_implementation ]
8
+ #[ panic_handler ]
9
9
fn panic ( _: & core:: panic:: PanicInfo ) -> ! {
10
10
loop { }
11
11
}
Original file line number Diff line number Diff line change 11
11
#![ feature( lang_items) ]
12
12
#![ feature( start) ]
13
13
#![ feature( allocator_api) ]
14
- #![ feature( panic_implementation ) ]
14
+ #![ feature( panic_handler ) ]
15
15
#![ cfg_attr( windows, feature( panic_unwind) ) ]
16
16
#![ no_std]
17
17
18
- extern crate panic_implementation ;
18
+ extern crate panic_handler ;
19
19
20
20
#[ cfg( not( thumb) ) ]
21
21
#[ link( name = "c" ) ]
You can’t perform that action at this time.
0 commit comments