mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Fix emscripten lib compilation
This commit is contained in:
parent
97a70327d0
commit
3f345b41c2
@ -341,7 +341,7 @@ impl EmscriptenGlobals {
|
|||||||
if name == "abortOnCannotGrowMemory" && namespace == "env" {
|
if name == "abortOnCannotGrowMemory" && namespace == "env" {
|
||||||
let sig_index = module.info().func_assoc[index.convert_up(module.info())];
|
let sig_index = module.info().func_assoc[index.convert_up(module.info())];
|
||||||
let expected_sig = &module.info().signatures[sig_index];
|
let expected_sig = &module.info().signatures[sig_index];
|
||||||
if **expected_sig == *OLD_ABORT_ON_CANNOT_GROW_MEMORY_SIG {
|
if *expected_sig == *OLD_ABORT_ON_CANNOT_GROW_MEMORY_SIG {
|
||||||
use_old_abort_on_cannot_grow_memory = true;
|
use_old_abort_on_cannot_grow_memory = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user