llama-cpp-bindings 0.8.0

llama.cpp bindings for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[must_use]
pub fn mlock_supported() -> bool {
    unsafe { llama_cpp_bindings_sys::llama_supports_mlock() }
}

#[cfg(test)]
mod tests {
    use super::mlock_supported;

    #[test]
    fn returns_bool_without_panic() {
        let _supported: bool = mlock_supported();
    }
}