File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ pub mod ppc64;
22
22
pub mod s390x;
23
23
pub mod x86;
24
24
25
- unsafe extern "C" fn failure_exit ( ) {
25
+ unsafe extern "C" fn failure_exit ( ) -> ! {
26
26
panic ! ( "LibVEX encountered a critical error." )
27
27
}
28
28
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ libc = "0.2.85"
27
27
28
28
[build-dependencies ]
29
29
fs_extra = " 1.2"
30
- bindgen = " 0.57 "
30
+ bindgen = " 0.69 "
31
31
32
32
[features ]
33
33
default = []
Original file line number Diff line number Diff line change @@ -134,14 +134,14 @@ fn main() -> Result<()> {
134
134
// Generate bindings
135
135
let bindings = bindgen:: Builder :: default ( )
136
136
. header ( "wrapper.h" )
137
- . blacklist_type ( "_IRStmt__bindgen_ty_1__bindgen_ty_1" )
138
- . rustified_enum ( "*" )
137
+ . blocklist_type ( "_IRStmt__bindgen_ty_1__bindgen_ty_1" )
138
+ . rustified_enum ( ". *" )
139
139
. clang_args ( vex_headers ( ) ?
140
140
. into_iter ( )
141
141
. map ( |dir| format ! ( "-I{}" , dir) )
142
142
)
143
143
. generate ( )
144
- . map_err ( |( ) | "Unable to generate bindings" ) ?;
144
+ . map_err ( |_ | "Unable to generate bindings" ) ?;
145
145
bindings. write_to_file ( out_dir. join ( "bindings.rs" ) ) ?;
146
146
}
147
147
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ mod test {
36
36
37
37
use crate :: * ;
38
38
39
- unsafe extern "C" fn failure_exit ( ) {
39
+ unsafe extern "C" fn failure_exit ( ) -> ! {
40
40
panic ! ( "LibVEX encountered a critical error." )
41
41
}
42
42
You can’t perform that action at this time.
0 commit comments