We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f0f8fe commit 920a193Copy full SHA for 920a193
2 files changed
samples/wasi-threads/README.md
@@ -22,3 +22,10 @@ $ ./iwasm wasm-apps/no_pthread.wasm
22
...
23
$ ./iwasm wasm-apps/exception_propagation.wasm
24
```
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
+```
wamr-compiler/main.c
@@ -231,6 +231,7 @@ main(int argc, char *argv[])
231
option.enable_bulk_memory = true;
232
option.enable_thread_mgr = true;
233
option.enable_ref_types = false;
234
+ option.enable_aux_stack_check = false;
235
}
236
else if (!strcmp(argv[0], "--enable-tail-call")) {
237
option.enable_tail_call = true;
0 commit comments