mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-15 01:41:21 +00:00
Enable shared memory in emscripten
This commit is contained in:
@ -440,13 +440,13 @@ impl EmscriptenGlobals {
|
||||
}
|
||||
|
||||
let (table_min, table_max) = get_emscripten_table_size(&module);
|
||||
let (memory_min, memory_max) = get_emscripten_memory_size(&module);
|
||||
let (memory_min, memory_max, shared) = get_emscripten_memory_size(&module);
|
||||
|
||||
// Memory initialization
|
||||
let memory_type = MemoryDescriptor {
|
||||
minimum: memory_min,
|
||||
maximum: memory_max,
|
||||
shared: false,
|
||||
shared: shared,
|
||||
};
|
||||
let memory = Memory::new(memory_type).unwrap();
|
||||
|
||||
|
Reference in New Issue
Block a user