File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
examples/spin-timer/app-example/src Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ jobs:
201201
202202 # Install all the toolchain dependencies
203203 - name : Install Rust wasm target
204- run : rustup target add wasm32-wasip1 wasm32-unknown-unknown
204+ run : rustup target add wasm32-wasip1 wasm32-wasip2 wasm32- unknown-unknown
205205 - uses : mlugg/setup-zig@v2
206206 with :
207207 version : ' 0.14.1'
@@ -289,7 +289,7 @@ jobs:
289289 run : rustup target add --toolchain ${{ env.RUST_VERSION }} ${{ matrix.config.target }}
290290
291291 - name : " Install Wasm Rust target"
292- run : rustup target add wasm32-wasip1 wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
292+ run : rustup target add wasm32-wasip1 wasm32-wasip2 wasm32- unknown-unknown --toolchain ${{ env.RUST_VERSION }}
293293
294294 - name : setup for cross-compiled linux aarch64 build
295295 if : matrix.config.target == 'aarch64-unknown-linux-gnu'
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104104 run : rustup target add --toolchain ${{ env.RUST_VERSION }} ${{ matrix.config.target }}
105105
106106 - name : " Install Wasm Rust target"
107- run : rustup target add wasm32-wasip1 wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
107+ run : rustup target add wasm32-wasip1 wasm32-wasip2 wasm32- unknown-unknown --toolchain ${{ env.RUST_VERSION }}
108108
109109 - name : setup for cross-compiled linux aarch64 build
110110 if : matrix.config.target == 'aarch64-unknown-linux-gnu'
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ wit_bindgen::generate!({
77use fermyon:: spin:: variables;
88
99struct MySpinTimer ;
10+ export ! ( MySpinTimer ) ;
1011
1112impl Guest for MySpinTimer {
1213 fn handle_timer_request ( ) {
You can’t perform that action at this time.
0 commit comments