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 @@ -13,5 +13,5 @@ publish = true
13
13
link-cplusplus = " 1.0.9"
14
14
15
15
[build-dependencies ]
16
- bindgen = " 0.68 .1"
16
+ bindgen = " 0.69 .1"
17
17
cmake = " 0.1.50"
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ fn main() {
74
74
75
75
" ) . unwrap ( ) ;
76
76
}
77
+
77
78
let dst = cmake:: Config :: new ( & build_dir)
78
79
. configure_arg ( "-DLLAMA_STATIC=On" )
79
80
. configure_arg ( "-DLLAMA_BUILD_EXAMPLES=Off" )
@@ -87,7 +88,7 @@ fn main() {
87
88
88
89
let bindings = bindgen:: Builder :: default ( )
89
90
. header ( header_path. to_string_lossy ( ) )
90
- . parse_callbacks ( Box :: new ( bindgen:: CargoCallbacks ) )
91
+ . parse_callbacks ( Box :: new ( bindgen:: CargoCallbacks :: new ( ) ) )
91
92
. generate_comments ( false )
92
93
. allowlist_function ( "llama_.*" )
93
94
. allowlist_type ( "llama_.*" )
You can’t perform that action at this time.
0 commit comments