Fix emscripten imports

This commit is contained in:
Steve Akinyemi
2019-01-11 17:10:21 +01:00
parent b7b6e9e319
commit 76f6d3c33c
7 changed files with 1026 additions and 897 deletions

View File

@ -9,7 +9,7 @@ pub mod backend;
mod backing;
pub mod export;
pub mod import;
mod instance;
pub mod instance;
pub mod memory;
mod mmap;
pub mod module;

View File

@ -39,7 +39,7 @@ pub struct ModuleInner {
pub sig_registry: SigRegistry,
}
pub struct Module(Rc<ModuleInner>);
pub struct Module(pub Rc<ModuleInner>);
impl Module {
pub(crate) fn new(inner: Rc<ModuleInner>) -> Self {