Skip to content

Commit

Permalink
Fix clippy errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair committed Mar 19, 2019
1 parent 8b85099 commit 98ccc4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/dynasm-backend/src/codegen_x64.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::forget_copy)] // Used by dynasm.

use super::codegen::*;
use super::stack::{
ControlFrame, ControlStack, IfElseState, ScratchRegister, ValueInfo, ValueLocation, ValueStack,
Expand Down Expand Up @@ -5139,6 +5141,7 @@ enum CallIndirectLocalOrImport {
Import,
}

#[allow(clippy::cast_ptr_alignment)]
unsafe extern "C" fn call_indirect(
sig_index: usize,
local_or_import: CallIndirectLocalOrImport,
Expand Down

0 comments on commit 98ccc4f

Please sign in to comment.