mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Fix clippy error.
This commit is contained in:
parent
03e6311446
commit
1bdf0d5ad7
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user