Fix lints

This commit is contained in:
Brandon Fish
2019-02-02 18:07:37 -06:00
parent ffb3dc083a
commit d31c1c6068

View File

@ -176,8 +176,9 @@ pub unsafe extern "C" fn wasmer_instance_call(
} }
} }
#[allow(clippy::cast_ptr_alignment)]
#[no_mangle] #[no_mangle]
pub extern "C" fn wasmer_imports_set_import_func( pub unsafe extern "C" fn wasmer_imports_set_import_func(
import_object: *mut wasmer_import_object_t, import_object: *mut wasmer_import_object_t,
namespace: *const c_char, namespace: *const c_char,
name: *const c_char, name: *const c_char,