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:
Wenyong Huang
2023-03-03 15:00:54 +08:00
committed by GitHub
parent 9f0c4b63ac
commit 1be202fad8
7 changed files with 19 additions and 8 deletions

View File

@ -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
)