pub fn load_library(libname: &str) -> WeldResult<()> {
    let c_string = CString::new(libname).unwrap();
    let c_string_raw = c_string.into_raw() as *const c_char;
    if unsafe { llvm_sys::support::LLVMLoadLibraryPermanently(c_string_raw) } == 0 {
        Ok(())
    } else {
        compile_err!("Couldn't load library {}", libname)
    }
}
Loads a dynamic library from a file using LLVMLoadLibraryPermanently.

It is safe to call this function multiple times for the same library.
weld/src/codegen/llvm2/mod.rs