Add ia32 support and fix compiling issue for RT-Thread (#730)

This commit is contained in:
Bernard Xiong
2021-09-07 10:20:14 +08:00
committed by GitHub
parent 336abc2b27
commit 7e60b8608e
10 changed files with 25 additions and 69 deletions

View File

@ -6,13 +6,9 @@
from building import *
cwd = GetCurrentDir()
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
group = DefineGroup('iwasm_entry', src, depend = ['PKG_USING_WAMR'], CPPPATH = CPPPATH)
group = DefineGroup('iwasm', src, depend = ['PKG_USING_WAMR'])
Return('group')

View File

@ -373,18 +373,17 @@ int iwasm(int argc, char **argv)
/* destroy the module instance */
wasm_runtime_deinstantiate(wasm_module_inst);
fail3:
fail3:
/* unload the module */
wasm_runtime_unload(wasm_module);
fail2:
fail2:
/* free the file buffer */
rt_free(wasm_file_buf);
fail1:
fail1:
/* destroy runtime environment */
wasm_runtime_destroy();
return 0;
}
MSH_CMD_EXPORT(iwasm, Embeded VM of WebAssembly);