Implement SpecModule in terms of import resolver

This commit is contained in:
Sergey Pepyakin
2017-12-13 18:08:30 +01:00
parent f3584dbd17
commit 47ec274700
3 changed files with 135 additions and 31 deletions

View File

@ -152,3 +152,5 @@ pub use self::program::ProgramInstance;
pub use self::value::RuntimeValue;
pub use self::variable::{VariableInstance, VariableType, ExternalVariableValue};
pub use self::host::{HostModule, HostModuleBuilder, Func1, AnyFunc, AsReturnVal, FromArg};
pub use self::imports::{ImportResolver, Imports};
pub use self::store::{FuncInstance, ModuleInstance, GlobalInstance};