File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22authors = [" The Rust Project Developers" ]
33name = " panic_abort"
44version = " 0.0.0"
5+ edition = " 2018"
56
67[lib ]
78path = " lib.rs"
Original file line number Diff line number Diff line change 1010 html_root_url = "https://doc.rust-lang.org/nightly/" ,
1111 issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/" ) ]
1212#![ panic_runtime]
13+
1314#![ allow( unused_features) ]
15+ #![ deny( rust_2018_idioms) ]
1416
1517#![ feature( core_intrinsics) ]
1618#![ feature( libc) ]
17- #![ feature( nll) ]
1819#![ feature( panic_runtime) ]
1920#![ feature( staged_api) ]
2021#![ feature( rustc_attrs) ]
@@ -46,7 +47,6 @@ pub unsafe extern fn __rust_start_panic(_payload: usize) -> u32 {
4647
4748 #[ cfg( any( unix, target_os = "cloudabi" ) ) ]
4849 unsafe fn abort ( ) -> ! {
49- extern crate libc;
5050 libc:: abort ( ) ;
5151 }
5252
You can’t perform that action at this time.
0 commit comments