File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
authors = [" The Rust Project Developers" ]
3
3
name = " panic_abort"
4
4
version = " 0.0.0"
5
+ edition = " 2018"
5
6
6
7
[lib ]
7
8
path = " lib.rs"
Original file line number Diff line number Diff line change 10
10
html_root_url = "https://doc.rust-lang.org/nightly/" ,
11
11
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/" ) ]
12
12
#![ panic_runtime]
13
+
13
14
#![ allow( unused_features) ]
15
+ #![ deny( rust_2018_idioms) ]
14
16
15
17
#![ feature( core_intrinsics) ]
16
18
#![ feature( libc) ]
17
- #![ feature( nll) ]
18
19
#![ feature( panic_runtime) ]
19
20
#![ feature( staged_api) ]
20
21
#![ feature( rustc_attrs) ]
@@ -46,7 +47,6 @@ pub unsafe extern fn __rust_start_panic(_payload: usize) -> u32 {
46
47
47
48
#[ cfg( any( unix, target_os = "cloudabi" ) ) ]
48
49
unsafe fn abort ( ) -> ! {
49
- extern crate libc;
50
50
libc:: abort ( ) ;
51
51
}
52
52
You can’t perform that action at this time.
0 commit comments