Added cache into standalone app

This commit is contained in:
Syrus
2019-02-22 11:42:30 -08:00
parent c9969f269c
commit fdb2a67579
7 changed files with 85 additions and 22 deletions

View File

@ -56,8 +56,6 @@ pub struct ModuleInfo {
pub namespace_table: StringTable<NamespaceIndex>,
pub name_table: StringTable<NameIndex>,
pub wasm_hash: WasmHash,
}
/// A compiled WebAssembly module.
@ -116,6 +114,14 @@ impl Module {
}
}
impl Clone for Module {
fn clone(&self) -> Self {
Self {
inner: Arc::clone(&self.inner),
}
}
}
impl ModuleInner {}
#[doc(hidden)]