Engine is working all the way 🎉

This commit is contained in:
Syrus
2020-05-02 19:05:48 -07:00
parent d25f47d54d
commit 4d9a5291aa
16 changed files with 61 additions and 58 deletions

View File

@@ -6,7 +6,7 @@ use std::path::Path;
use std::sync::Arc;
use thiserror::Error;
use wasmer_compiler::{CompileError, WasmError};
use wasmer_engine::{CompiledModule, DeserializeError, Resolver, SerializeError};
use wasmer_engine::{CompiledModule, DeserializeError, Engine, Resolver, SerializeError};
use wasmer_runtime::InstanceHandle;
#[derive(Error, Debug)]
@@ -173,8 +173,7 @@ impl Module {
Ok(Self::from_compiled_module(store, compiled))
}
fn from_compiled_module(store: &Store, compiled: Arc<CompiledModule>) -> Self
{
fn from_compiled_module(store: &Store, compiled: Arc<CompiledModule>) -> Self {
Module {
store: store.clone(),
compiled,