You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: program/rust/build.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
mod build_utils;
2
-
use bindgen;
2
+
use bindgen::Builder;
3
3
use std::collections::HashMap;
4
4
use std::vec::Vec;
5
5
@@ -16,6 +16,6 @@ fn main() {
16
16
])};
17
17
18
18
//generate and write bindings
19
-
let bindings = bindgen::Builder::default().header("./src/bindings.h").parse_callbacks(Box::new(parser)).generate().expect("Unable to generate bindings");
19
+
let bindings = Builder::default().header("./src/bindings.h").parse_callbacks(Box::new(parser)).generate().expect("Unable to generate bindings");
0 commit comments