Modify imports macro to work with all things that are exports

This commit is contained in:
Lachlan Sneff
2019-01-25 16:40:07 -08:00
parent db3a20a76b
commit a58f3318f0
6 changed files with 21 additions and 15 deletions

View File

@ -43,7 +43,6 @@ impl DynamicMemory {
local.base = storage.memory.as_ptr();
local.bound = desc.min as usize * WASM_PAGE_SIZE;
local.memory = storage_ptr as *mut ();
println!("local: {:?}", local);
Some(storage)
}