Fix clippy error.

This commit is contained in:
losfair 2019-06-26 12:50:34 +08:00
parent 03e6311446
commit 1bdf0d5ad7

View File

@ -60,6 +60,7 @@ pub fn patch_import_object(x: &mut ImportObject, config: SuspendConfig) {
x.register("wasmer_suspend", ns); x.register("wasmer_suspend", ns);
} }
#[allow(clippy::cast_ptr_alignment)]
unsafe extern "C" fn suspend( unsafe extern "C" fn suspend(
ctx: &mut Ctx, ctx: &mut Ctx,
config_ptr_raw: *const CallContext, config_ptr_raw: *const CallContext,