Add ia32 support and fix compiling issue for RT-Thread (#730)
This commit is contained in:
@ -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')
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user