pub unsafe extern "C" fn weld_module_free(module: weld_module_t) {
    let module = module as *mut weld::WeldModule;
    if !module.is_null() {
        Box::from_raw(module);
    }
}
Frees a module.

Freeing a module does not free the memory it may have allocated. Values returned by the module
must be freed explicitly using `weld_value_free`.
weld-capi/src/lib.rs