set_library_path

Function set_library_path 

Source
pub fn set_library_path(path: impl AsRef<Path>) -> Result<()>
Expand description

Set an explicit library path before initialization.

Must be called before any FFI functions are used. Returns an error if the library is already loaded.