Remove Backend dependency

This commit is contained in:
Syrus
2019-12-20 20:11:56 -08:00
parent d4e964519d
commit d7154fe791
15 changed files with 127 additions and 64 deletions

View File

@ -1,7 +1,7 @@
//! The module module contains the implementation data structures and helper functions used to
//! manipulate and access wasm modules.
use crate::{
backend::{Backend, RunnableModule},
backend::RunnableModule,
cache::{Artifact, Error as CacheError},
error,
import::ImportObject,
@ -65,7 +65,7 @@ pub struct ModuleInfo {
/// Map signature index to function signature.
pub signatures: Map<SigIndex, FuncSig>,
/// Backend.
pub backend: Backend,
pub backend: String,
/// Table of namespace indexes.
pub namespace_table: StringTable<NamespaceIndex>,