separate the context intialization from the function execution (#21)
the start function is called from the initialization phase
This commit is contained in:
committed by
Dan Gohman
parent
95fba6a9de
commit
bf5a06bc95
@@ -46,11 +46,11 @@ mod vmcontext;
|
||||
|
||||
pub use compilation::{compile_module, Compilation, Relocation, RelocationTarget, Relocations};
|
||||
pub use environ::{ModuleEnvironment, ModuleTranslation};
|
||||
pub use module::{DataInitializer, Module, TableElements};
|
||||
pub use module::{DataInitializer, Export, Module, TableElements};
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
mod std {
|
||||
pub use alloc::{string, vec};
|
||||
pub use core::*;
|
||||
pub use core::{i32, str, u32};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user