Skip to content

Commit 9bcbc4f

Browse files
committed
doc(wasi-threads): document how to use WASI threads in AOT mode
1 parent 5f0f8fe commit 9bcbc4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

samples/wasi-threads/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,11 @@ $ ./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 \
29+
--disable-aux-stack-check \
30+
-o wasm-apps/no_pthread.aot wasm-apps/no_pthread.wasm
31+
$ ./iwasm wasm-apps/no_pthread.aot
32+
```

0 commit comments

Comments
 (0)