pub unsafe extern "C" fn weld_load_library(filename: *const c_char, err: weld_error_t) {
    let err = err as *mut weld::WeldError;
    let err = &mut *err;
    let filename = filename.to_str();
    if let Err(e) = weld::load_linked_library(filename) {
        *err = e;
    } else {
        *err = weld::WeldError::new_success();
    }
}
Load a dynamic library that a Weld program can access.

The dynamic library is a C dynamic library identified by its filename.
This function is a wrapper for `load_linked_library`.
weld-capi/src/lib.rs