llama_cpp_bindings/
mmap_supported.rs1#[must_use]
2pub fn mmap_supported() -> bool {
3 unsafe { llama_cpp_bindings_sys::llama_supports_mmap() }
4}
5
6#[cfg(test)]
7mod tests {
8 use super::mmap_supported;
9
10 #[test]
11 fn returns_bool_without_panic() {
12 let _supported: bool = mmap_supported();
13 }
14}