minor changes (#195)

This commit is contained in:
Weining
2020-03-11 13:49:52 +08:00
committed by GitHub
parent 0fdd49ea31
commit aa42335a4e
7 changed files with 70 additions and 47 deletions

View File

@ -98,7 +98,7 @@ $(NAME)_SOURCES := ${SHARED_ROOT}/platform/alios/bh_assert.c \
src/main.c
ifeq (${WAMR_BUILD_INTERP}, 1)
$(NAME)_SOURCES += ${IWASM_ROOT}/interpreter/wasm_interp.c \
$(NAME)_SOURCES += ${IWASM_ROOT}/interpreter/wasm_interp_classic.c \
${IWASM_ROOT}/interpreter/wasm_loader.c \
${IWASM_ROOT}/interpreter/wasm_runtime.c
endif

View File

@ -81,7 +81,7 @@ void iwasm_main(void *arg1, void *arg2, void *arg3)
/* initialize runtime environment */
if (!wasm_runtime_full_init(&init_args)) {
bh_printf("Init runtime environment failed.\n");
return -1;
return;
}
#if WASM_ENABLE_LOG != 0