File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed
Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -146,15 +146,16 @@ jobs:
146146 path : |
147147 ~/.cargo/registry
148148 ~/.cargo/git
149- examples/history-wasi/ target
150- key : cargo-${{ runner.os }}-history-wasi -tests-${{ hashFiles('**/Cargo.toml') }}
149+ target
150+ key : cargo-${{ runner.os }}-node -tests-${{ hashFiles('**/Cargo.toml') }}
151151 restore-keys : |
152- cargo-${{ runner.os }}-history-wasi-tests-
152+ cargo-${{ runner.os }}-node-tests-
153+ cargo-${{ runner.os }}-
153154
154155 - name : Build and run example history-wasi
155156 run : |
156- cargo build --manifest-path examples/ history-wasi/Cargo.toml --target wasm32-wasi
157- ~/wasmtime examples/history-wasi/ target/wasm32-wasi/debug/example-history-wasi.wasm
157+ cargo build --package example- history-wasi --target wasm32-wasi
158+ ~/wasmtime --trap-unknown-imports target/wasm32-wasi/debug/example-history-wasi.wasm
158159
159160 test-worker :
160161 name : Test gloo-worker
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ members = [
7777 " examples/markdown" ,
7878 " examples/clock" ,
7979 " examples/file-hash" ,
80+ " examples/history-wasi" ,
8081 " examples/prime" ,
8182]
82- exclude = [" examples/history-wasi" ]
8383
8484# Passing arguments to the docsrs builder in order to properly document cfg's.
8585# More information: https://docs.rs/about/builds#cross-compiling
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments