File tree 4 files changed +12
-2
lines changed
4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ [target .wasm32-wasip1 ]
2
+ runner = [" ./scripts/wasmtime-wrapper.sh" ]
Original file line number Diff line number Diff line change 40
40
rustup target add wasm32-wasip1
41
41
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux.deb
42
42
sudo dpkg --install wasi-sdk-25.0-x86_64-linux.deb
43
- curl https://wasmtime.dev/install.sh -sSf | bash
43
+ curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v13.0.0/wasmtime-v13.0.0-x86_64-linux.tar.xz
44
+ tar xvf wasmtime-v13.0.0-x86_64-linux.tar.xz
45
+ echo `pwd`/wasmtime-v13.0.0-x86_64-linux >> $GITHUB_PATH
44
46
45
47
- uses : Swatinem/rust-cache@v2
46
48
with :
Original file line number Diff line number Diff line change 42
42
rustup target add wasm32-wasip1
43
43
curl -LO https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux.deb
44
44
sudo dpkg --install wasi-sdk-25.0-x86_64-linux.deb
45
- curl https://wasmtime.dev/install.sh -sSf | bash
45
+ curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v13.0.0/wasmtime-v13.0.0-x86_64-linux.tar.xz
46
+ tar xvf wasmtime-v13.0.0-x86_64-linux.tar.xz
47
+ echo `pwd`/wasmtime-v13.0.0-x86_64-linux >> $GITHUB_PATH
46
48
47
49
- uses : Swatinem/rust-cache@v2
48
50
with :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
3
+ cd $SCRIPT_DIR /..
4
+ wasmtime run --max-wasm-stack=4194304 --env INSTA_WORKSPACE_ROOT=/ --mapdir " /::$( pwd) " -- " $@ "
You can’t perform that action at this time.
0 commit comments