File tree Expand file tree Collapse file tree 6 files changed +7
-8
lines changed Expand file tree Collapse file tree 6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 55 using : composite
66 steps :
77 - run : |
8- curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25 /wasi-sdk-25 .0-x86_64-linux.tar.gz -L | tar xzvf -
9- echo "WASI_SDK_PATH=`pwd`/wasi-sdk-25 .0-x86_64-linux" >> $GITHUB_ENV
8+ curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27 /wasi-sdk-27 .0-x86_64-linux.tar.gz -L | tar xzvf -
9+ echo "WASI_SDK_PATH=`pwd`/wasi-sdk-27 .0-x86_64-linux" >> $GITHUB_ENV
1010 if: runner.os == 'Linux'
1111 shell: bash
1212 - run : |
13- curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25 /wasi-sdk-25 .0-x86_64-macos.tar.gz -L | tar xzvf -
14- echo "WASI_SDK_PATH=`pwd`/wasi-sdk-25 .0-x86_64-macos" >> $GITHUB_ENV
13+ curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27 /wasi-sdk-27 .0-x86_64-macos.tar.gz -L | tar xzvf -
14+ echo "WASI_SDK_PATH=`pwd`/wasi-sdk-27 .0-x86_64-macos" >> $GITHUB_ENV
1515 if: runner.os == 'macOS'
1616 shell: bash
1717 - run : |
18- curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25 /wasi-sdk-25 .0-x86_64-windows.tar.gz -L | tar xzvf -
19- echo "WASI_SDK_PATH=`pwd`/wasi-sdk-25 .0-x86_64-windows" >> $GITHUB_ENV
18+ curl https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27 /wasi-sdk-27 .0-x86_64-windows.tar.gz -L | tar xzvf -
19+ echo "WASI_SDK_PATH=`pwd`/wasi-sdk-27 .0-x86_64-windows" >> $GITHUB_ENV
2020 if: runner.os == 'Windows'
2121 shell: bash
2222 - name : Setup `wasm-tools`
Original file line number Diff line number Diff line change @@ -136,7 +136,6 @@ jobs:
136136 --artifacts target/artifacts \
137137 --rust-wit-bindgen-path ./crates/guest-rust \
138138 --rust-target wasm32-wasip1 \
139- --c-target wasm32-wasip1 \
140139 --runner "$WASMTIME -W component-model-async -Sp3"
141140
142141 test_unit :
Original file line number Diff line number Diff line change 9191build () {
9292 file=$1
9393 $WASI_SDK_PATH /bin/clang crates/guest-rust/rt/src/$1 .c \
94- -O -c -o crates/guest-rust/rt/src/$1 .o
94+ -O -c -o crates/guest-rust/rt/src/$1 .o -mcpu=mvp
9595 # Remove the `producers` section. This appears to differ whether the host for
9696 # clang is either macOS or Linux. Not needed here anyway, so discard it to help
9797 # either host produce the same object.
You can’t perform that action at this time.
0 commit comments