pub fn mlock_supported() -> bool
is memory locking supported according to llama.cpp
let mlock_supported = mlock_supported(); if mlock_supported { println!("mlock_supported!"); }