From 1bdf0d5ad796812acea3fa2f0450dfc179f4a4a4 Mon Sep 17 00:00:00 2001 From: losfair Date: Wed, 26 Jun 2019 12:50:34 +0800 Subject: [PATCH] Fix clippy error. --- lib/runtime-core/src/suspend.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/runtime-core/src/suspend.rs b/lib/runtime-core/src/suspend.rs index f48b5765d..955df1cf6 100644 --- a/lib/runtime-core/src/suspend.rs +++ b/lib/runtime-core/src/suspend.rs @@ -60,6 +60,7 @@ pub fn patch_import_object(x: &mut ImportObject, config: SuspendConfig) { x.register("wasmer_suspend", ns); } +#[allow(clippy::cast_ptr_alignment)] unsafe extern "C" fn suspend( ctx: &mut Ctx, config_ptr_raw: *const CallContext,