mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 22:51:32 +00:00
Fix clippy errors.
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
#![allow(clippy::forget_copy)] // Used by dynasm.
|
||||||
|
|
||||||
use super::codegen::*;
|
use super::codegen::*;
|
||||||
use super::stack::{
|
use super::stack::{
|
||||||
ControlFrame, ControlStack, IfElseState, ScratchRegister, ValueInfo, ValueLocation, ValueStack,
|
ControlFrame, ControlStack, IfElseState, ScratchRegister, ValueInfo, ValueLocation, ValueStack,
|
||||||
@ -5139,6 +5141,7 @@ enum CallIndirectLocalOrImport {
|
|||||||
Import,
|
Import,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::cast_ptr_alignment)]
|
||||||
unsafe extern "C" fn call_indirect(
|
unsafe extern "C" fn call_indirect(
|
||||||
sig_index: usize,
|
sig_index: usize,
|
||||||
local_or_import: CallIndirectLocalOrImport,
|
local_or_import: CallIndirectLocalOrImport,
|
||||||
@ -5214,6 +5217,7 @@ unsafe extern "C" fn _memory_size(
|
|||||||
ret.0 as u32 as u64
|
ret.0 as u32 as u64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::cast_ptr_alignment)]
|
||||||
unsafe extern "C" fn _memory_grow(
|
unsafe extern "C" fn _memory_grow(
|
||||||
op: MemoryKind,
|
op: MemoryKind,
|
||||||
index: usize,
|
index: usize,
|
||||||
|
Reference in New Issue
Block a user