Skip to content

Commit

Permalink
Fix clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomusdrw committed Jan 22, 2025
1 parent bfceff7 commit e1f3ff8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/spectool/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::print_stderr)]

use polkavm::{Engine, InterruptKind, Module, ModuleConfig, ProgramBlob, ProgramParts, Reg};
use polkavm_common::assembler::assemble;

Expand Down Expand Up @@ -110,7 +112,7 @@ pub fn prepare_input(input: &str, engine: &Engine, name: &str, execute: bool) ->
module_config.set_gas_metering(Some(polkavm::GasMeteringKind::Sync));
module_config.set_step_tracing(true);

let module = Module::from_blob(&engine, &module_config, blob.clone()).unwrap();
let module = Module::from_blob(engine, &module_config, blob.clone()).unwrap();
let mut instance = module.instantiate().unwrap();

let mut initial_page_map = Vec::new();
Expand Down

0 comments on commit e1f3ff8

Please sign in to comment.