Merge branch 'feature/vm_refactor' of github.com:wasmerio/wasmer into feature/vm_refactor

This commit is contained in:
Lachlan Sneff
2019-01-09 21:15:08 -05:00
131 changed files with 39 additions and 186735 deletions

View File

@ -190,3 +190,10 @@ impl ImportResolver for Imports {
pub trait ImportResolver {
fn get(&self, module: &str, name: &str) -> Option<&Import>;
}
// TODO Remove this later, only needed for compilation till emscripten is updated
impl Instance {
pub fn memory_offset_addr(&self, index: usize, offset: usize) -> *const usize {
unimplemented!("TODO replace this emscripten stub")
}
}