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"
99
1010include = [
1111 " wrapper.h" ,
12+ " wrapper_mtmd.h" ,
1213 " build.rs" ,
1314 " /src" ,
1415
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ fn main() {
277277 // Configure mtmd feature if enabled
278278 if cfg ! ( feature = "mtmd" ) {
279279 bindings_builder = bindings_builder
280+ . header ( "wrapper_mtmd.h" )
280281 . allowlist_function ( "mtmd_.*" )
281282 . allowlist_type ( "mtmd_.*" ) ;
282283 }
@@ -432,6 +433,7 @@ fn main() {
432433 . expect ( "Failed to write bindings" ) ;
433434
434435 println ! ( "cargo:rerun-if-changed=wrapper.h" ) ;
436+ println ! ( "cargo:rerun-if-changed=wrapper_mtmd.h" ) ;
435437
436438 debug_log ! ( "Bindings Created" ) ;
437439
Original file line number Diff line number Diff line change 11#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