llama_cpp_wrapper_sources/
constants.rs1pub const CPP_STANDARD: &str = "c++17";
2
3pub const FAULT_INJECTION_DEFINE: &str = "LLAMA_RS_FAULT_INJECTION";
4
5pub const GSL_INCLUDE_DIR: &str = "GSL/include";
6
7pub const LLAMA_CPP_INCLUDE_DIRS: &[&str] = &["common", "include", "ggml/include", "vendor"];
8
9pub const WRAPPER_HEADERS: &[&str] = &[
10 "wrapper.h",
11 "wrapper_batch.h",
12 "wrapper_chat_session.h",
13 "wrapper_chat_templates.h",
14 "wrapper_chat_templates_handle.h",
15 "wrapper_common.h",
16 "wrapper_context.h",
17 "wrapper_decision.h",
18 "wrapper_fault_injection.h",
19 "wrapper_fit.h",
20 "wrapper_gbnf.h",
21 "wrapper_mtmd.h",
22 "wrapper_parsed_chat.h",
23 "wrapper_parsed_chat_handle.h",
24 "wrapper_report_current_exception.h",
25 "wrapper_sampler_init.h",
26 "wrapper_state.h",
27 "wrapper_utils.h",
28];
29
30pub const WRAPPER_INCLUDE_DIRS: &[&str] = &["."];
31
32pub const WRAPPER_SOURCES: &[&str] = &[
33 "wrapper_batch.cpp",
34 "wrapper_chat_session.cpp",
35 "wrapper_chat_templates.cpp",
36 "wrapper_common.cpp",
37 "wrapper_context.cpp",
38 "wrapper_decision.cpp",
39 "wrapper_fault_injection.cpp",
40 "wrapper_fit.cpp",
41 "wrapper_gbnf.cpp",
42 "wrapper_mtmd.cpp",
43 "wrapper_parsed_chat.cpp",
44 "wrapper_sampler_init.cpp",
45 "wrapper_state.cpp",
46];