CI: Enable testing AOT multi-module feature (#2621)

And refine some code pieces.
This commit is contained in:
Wenyong Huang
2023-10-08 08:36:49 +08:00
committed by GitHub
parent b115b7baac
commit 7c22bde8dc
9 changed files with 19 additions and 31 deletions

View File

@ -710,8 +710,8 @@ fd_object_release(wasm_exec_env_t env, struct fd_object *fo)
bool
fd_table_insert_existing(struct fd_table *ft, __wasi_fd_t in, int out)
{
__wasi_filetype_t type;
__wasi_rights_t rights_base, rights_inheriting;
__wasi_filetype_t type = __WASI_FILETYPE_UNKNOWN;
__wasi_rights_t rights_base = 0, rights_inheriting = 0;
struct fd_object *fo;
__wasi_errno_t error;