Fix compile errors after merge

This commit is contained in:
Christoph Herzog
2022-12-06 14:57:50 +01:00
parent 3afdd26cf0
commit 976c7f7958
8 changed files with 12 additions and 61 deletions

View File

@@ -1,3 +1,4 @@
use bytes::Bytes;
use std::fmt;
use std::io;
use std::path::Path;

View File

@@ -3,8 +3,8 @@ use derivative::Derivative;
use std::fmt;
#[cfg(feature = "compiler")]
use wasmer_compiler::{AsEngineRef, Engine, EngineBuilder, EngineRef, Tunables};
use wasmer_vm::{init_traps, StoreId, TrapHandler, TrapHandlerFn};
use wasmer_types::{OnCalledAction, StoreSnapshot};
use wasmer_vm::{init_traps, StoreId, TrapHandler, TrapHandlerFn};
use wasmer_vm::StoreObjects;
@@ -76,7 +76,6 @@ impl Store {
on_called: None,
}),
engine: engine.cloned(),
trap_handler: Arc::new(RwLock::new(None)),
}
}