Skip to content

Commit 0be7089

Browse files
committed
Downgrade to wasmtime 0.36.0
wasmtime 0.37.0 seems to have a much smaller call stack size. Several test cases with deep recursion are crashing the runtime. See: bytecodealliance/wasmtime#4214
1 parent 6f53b9f commit 0be7089

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wasm/Dockerfile.emsdk3

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-$
4141
&& mv /opt/wasi-sdk-${WASI_VERSION}.0 ${WASI_SDK_PATH}
4242

4343
# wasmtime
44-
RUN curl https://wasmtime.dev/install.sh -sSf | bash
44+
RUN curl https://wasmtime.dev/install.sh -sSf -o /root/install-wasmtime.sh && \
45+
bash /root/install-wasmtime.sh --version v0.36.0
4546

4647
# wasix POSIX stubs, ctypes deps
4748
RUN /root/install-wasix.sh

0 commit comments

Comments
 (0)