Fix function type not set issue of aot_call_indirect (#229)
Add registration of libc-wasi to 'wasi_snapshot_preview1' to support cargo-wasi change zephyr build method from cmake to west fix problem when preserve space for local vars fix wasi authority problem
This commit is contained in:
@ -794,7 +794,8 @@ load_import_funcs(const uint8 **p_buf, const uint8 *buf_end,
|
||||
}
|
||||
|
||||
#if WASM_ENABLE_LIBC_WASI != 0
|
||||
if (!strcmp(import_funcs[i].module_name, "wasi_unstable"))
|
||||
if (!strcmp(import_funcs[i].module_name, "wasi_unstable")
|
||||
|| !strcmp(import_funcs[i].module_name, "wasi_snapshot_preview1"))
|
||||
module->is_wasi_module = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user