Skip to content

Commit a5ca764

Browse files
committed
build-wasm32-wasi.sh: comment
1 parent 6f6c49d commit a5ca764

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-wasm32-wasi.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
set -e
44

5+
# To build with wasi-threads:
6+
# WASI_SDK_DIR=... CMAKE_TOOLCHAIN_FILE=${WASI_SDK_DIR}/share/cmake/wasi-sdk-pthread.cmake EXTRA_CMAKE_OPTIONS="-DTOYWASM_ENABLE_WASM_THREADS=ON -DTOYWASM_ENABLE_WASI_THREADS=ON" ./build-wasm32-wasi.sh
7+
58
MAJOR=${WASI_SDK_MAJOR:-17}
69
MINOR=${WASI_SDK_MINOR:-0}
710
WASI_SDK_DIR=${WASI_SDK_DIR:-$(pwd)/.wasi-sdk-${MAJOR}.${MINOR}}

0 commit comments

Comments
 (0)