File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ links = "llama"
9
9
10
10
include = [
11
11
" wrapper.h" ,
12
+ " wrapper_mtmd.h" ,
12
13
" build.rs" ,
13
14
" /src" ,
14
15
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ fn main() {
277
277
// Configure mtmd feature if enabled
278
278
if cfg ! ( feature = "mtmd" ) {
279
279
bindings_builder = bindings_builder
280
+ . header ( "wrapper_mtmd.h" )
280
281
. allowlist_function ( "mtmd_.*" )
281
282
. allowlist_type ( "mtmd_.*" ) ;
282
283
}
@@ -432,6 +433,7 @@ fn main() {
432
433
. expect ( "Failed to write bindings" ) ;
433
434
434
435
println ! ( "cargo:rerun-if-changed=wrapper.h" ) ;
436
+ println ! ( "cargo:rerun-if-changed=wrapper_mtmd.h" ) ;
435
437
436
438
debug_log ! ( "Bindings Created" ) ;
437
439
Original file line number Diff line number Diff line change 1
1
#include "llama.cpp/include/llama.h"
2
- #include "llama.cpp/tools/mtmd/mtmd.h"
3
- #include "llama.cpp/tools/mtmd/mtmd-helper.h"
Original file line number Diff line number Diff line change
1
+ #include "llama.cpp/tools/mtmd/mtmd.h"
2
+ #include "llama.cpp/tools/mtmd/mtmd-helper.h"
You can’t perform that action at this time.
0 commit comments