separate the context intialization from the function execution (#21)

the start function is called from the initialization phase
This commit is contained in:
Geoffroy Couprie
2018-11-27 14:33:56 +01:00
committed by Dan Gohman
parent 95fba6a9de
commit bf5a06bc95
4 changed files with 60 additions and 20 deletions

View File

@@ -41,7 +41,7 @@ mod execute;
mod instance;
mod memory;
pub use execute::{compile_and_link_module, execute};
pub use execute::{compile_and_link_module, execute, finish_instantiation};
pub use instance::Instance;
#[cfg(not(feature = "std"))]