File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,10 @@ $ ./iwasm wasm-apps/no_pthread.wasm
2222...
2323$ ./iwasm wasm-apps/exception_propagation.wasm
2424```
25+
26+ Run samples in AOT mode (aux stack must be disabled)
27+ ``` shell
28+ $ ../../../wamr-compiler/build/wamrc --enable-multi-thread \
29+ -o wasm-apps/no_pthread.aot wasm-apps/no_pthread.wasm
30+ $ ./iwasm wasm-apps/no_pthread.aot
31+ ```
Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ main(int argc, char *argv[])
231231 option .enable_bulk_memory = true;
232232 option .enable_thread_mgr = true;
233233 option .enable_ref_types = false;
234+ option .enable_aux_stack_check = false;
234235 }
235236 else if (!strcmp (argv [0 ], "--enable-tail-call" )) {
236237 option .enable_tail_call = true;
You can’t perform that action at this time.
0 commit comments