samples/spawn-thread: Tweak to expose a bug (#2888)

this would expose the deadlock bug, which has been fixed by
https://github.com/bytecodealliance/wasm-micro-runtime/pull/2882
This commit is contained in:
YAMAMOTO Takashi
2023-12-08 19:35:40 +09:00
committed by GitHub
parent 2fb3dc3ec0
commit 1dbae404b4
2 changed files with 13 additions and 1 deletions

View File

@ -29,6 +29,7 @@ set (DEFINED_SYMBOLS
set (CMAKE_EXE_LINKER_FLAGS
"-Wl,--shared-memory,--max-memory=131072, \
-Wl,--no-entry,--strip-all,--export=sum, \
-Wl,--export=return_bss, \
-Wl,--export=__heap_base,--export=__data_end \
-Wl,--export=__wasm_call_ctors \
-Wl,--allow-undefined-file=${DEFINED_SYMBOLS}"