mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-29 00:21:34 +00:00
Modify imports macro to work with all things that are exports
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ impl Memory {
|
||||
MemoryType::Static => {
|
||||
MemoryStorage::Static(StaticMemory::new(desc, &mut vm_local_memory)?)
|
||||
}
|
||||
MemoryType::SharedStatic => unimplemented!(),
|
||||
MemoryType::SharedStatic => unimplemented!("shared memories are not yet implemented"),
|
||||
};
|
||||
|
||||
Some(Memory {
|
||||
|
Reference in New Issue
Block a user