File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ doc = false
1717
1818[dependencies ]
1919core = { path = " ../libcore" }
20- libc = { version = " 0.2.43 " , features = [' rustc-dep-of-std' ], default-features = false }
20+ libc = { version = " 0.2.65 " , features = [' rustc-dep-of-std' ], default-features = false }
2121compiler_builtins = " 0.1.0"
2222cfg-if = " 0.1.8"
2323
Original file line number Diff line number Diff line change 11#![ allow( nonstandard_style) ]
22
3- #[ cfg( not( target_os = "hermit" ) ) ]
43use libc:: { c_int, c_void, uintptr_t} ;
54
6- #[ cfg( target_os = "hermit" ) ]
7- pub type c_int = i32 ;
8-
9- #[ cfg( target_os = "hermit" ) ]
10- pub type uintptr_t = usize ;
11-
12- #[ cfg( target_os = "hermit" ) ]
13- #[ repr( u8 ) ]
14- #[ allow( missing_copy_implementations) ]
15- #[ allow( missing_debug_implementations) ]
16- pub enum c_void {
17- // Two dummy variants so the #[repr] attribute can be used.
18- #[ doc( hidden) ]
19- __variant1,
20- #[ doc( hidden) ]
21- __variant2,
22- }
23-
245#[ repr( C ) ]
256#[ derive( Debug , Copy , Clone , PartialEq ) ]
267pub enum _Unwind_Reason_Code {
You can’t perform that action at this time.
0 commit comments