Eable post-MVP feature wasm-c-api (#315)
This commit is contained in:
@ -1095,9 +1095,11 @@ load_global_import(const WASMModule *parent_module,
|
||||
#endif
|
||||
|
||||
if (!ret) {
|
||||
#if WASM_ENABLE_SPEC_TEST != 0
|
||||
set_error_buf_v(error_buf, error_buf_size,
|
||||
"unknown import or incompatible import type");
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
global->module_name = sub_module_name;
|
||||
|
||||
@ -995,9 +995,6 @@ wasm_instantiate(WASMModule *module, bool is_sub_inst,
|
||||
error_buf, error_buf_size))) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
LOG_DEBUG("Instantiate a module %p -> %p", module, module_inst);
|
||||
|
||||
memset(module_inst, 0, (uint32)sizeof(WASMModuleInstance));
|
||||
|
||||
module_inst->module = module;
|
||||
|
||||
Reference in New Issue
Block a user