Fix several issues found (#1996)
- CMakeLists.txt: add lib_export.h to install list
- Fast JIT: enlarge spill cache size to enable several standalone cases
when hw bound check is disabled
- Thread manager: wasm_cluster_exit_thread may destroy an invalid
exec_env->module_inst when exec_env was destroyed before
- samples/socket-api: fix failure to run timeout_client.wasm
- enhance CI build wasi-libc and sample/wasm-c-api-imports CMakeLlist.txt
This commit is contained in:
@ -121,7 +121,7 @@ Shuting down
|
||||
```
|
||||
|
||||
```bash
|
||||
$ ./iwasm --addr-pool=127.0.0.1/15 --heap-size=10000000 timeout_client.wasm
|
||||
$ ./iwasm --addr-pool=127.0.0.1/15 timeout_client.wasm
|
||||
```
|
||||
|
||||
The output is:
|
||||
|
||||
@ -54,7 +54,9 @@ function(COMPILE_WITH_CLANG SOURCE_FILE)
|
||||
target_link_options(${MAIN_TARGET_NAME} PRIVATE
|
||||
LINKER:--export=__heap_base
|
||||
LINKER:--export=__data_end
|
||||
LINKER:--shared-memory,--max-memory=196608
|
||||
LINKER:--export=malloc
|
||||
LINKER:--export=free
|
||||
LINKER:--shared-memory,--max-memory=10485760
|
||||
LINKER:--no-check-features
|
||||
LINKER:--allow-undefined
|
||||
)
|
||||
|
||||
@ -56,10 +56,15 @@ if (NOT CMAKE_BUILD_TYPE)
|
||||
set (CMAKE_BUILD_TYPE Release)
|
||||
endif ()
|
||||
|
||||
set(WAMR_BUILD_AOT 1)
|
||||
set(WAMR_BUILD_INTERP 0)
|
||||
if (NOT DEFINED WAMR_BUILD_AOT)
|
||||
# Enable AOT by default.
|
||||
set (WAMR_BUILD_AOT 1)
|
||||
endif ()
|
||||
if (NOT DEFINED WAMR_BUILD_INTERP)
|
||||
# Disable Interpreter by default
|
||||
set (WAMR_BUILD_INTERP 0)
|
||||
endif ()
|
||||
set(WAMR_BUILD_JIT 0)
|
||||
|
||||
set(WAMR_BUILD_FAST_INTERP 1)
|
||||
set(WAMR_BUILD_LIB_PTHREAD 1)
|
||||
set(WAMR_BUILD_LIBC_BUILTIN 1)
|
||||
|
||||
Reference in New Issue
Block a user