Skip to content

Commit 8907cee

Browse files
authored
Update dependencies (#122)
* First deps update Signed-off-by: Ryan Levick <[email protected]> * Try to get compiling Signed-off-by: Ryan Levick <[email protected]> * Temporarily turn off sqlite integration Signed-off-by: Ryan Levick <[email protected]> * Update router Signed-off-by: Ryan Levick <[email protected]> * Re-enable sqlite Signed-off-by: Ryan Levick <[email protected]> * Update dependencies Signed-off-by: Ryan Levick <[email protected]> * Run cargo fmt Signed-off-by: Ryan Levick <[email protected]> * Update rust version in CI Signed-off-by: Ryan Levick <[email protected]> * Appease clippy Signed-off-by: Ryan Levick <[email protected]> * Update spin Signed-off-by: Ryan Levick <[email protected]> * Final sha update Signed-off-by: Ryan Levick <[email protected]> --------- Signed-off-by: Ryan Levick <[email protected]>
1 parent 3d774d8 commit 8907cee

File tree

31 files changed

+21089
-20265
lines changed

31 files changed

+21089
-20265
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ on:
1919

2020
env:
2121
CARGO_TERM_COLOR: always
22-
CARGO_COMPONENT_VERSION: 0.14.0
23-
RUST_VERSION: "1.80"
22+
CARGO_COMPONENT_VERSION: 0.21.1
23+
RUST_VERSION: "1.86"
2424
WASI_SDK_VERSION: "22.0"
2525
WASI_SDK_RELEASE: wasi-sdk-22
2626

@@ -35,7 +35,7 @@ jobs:
3535
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt
3636
rustup default ${{ env.RUST_VERSION }}
3737
- name: Install Wasm Rust target
38-
run: rustup target add wasm32-wasip1 && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
38+
run: rustup target add wasm32-wasip1 && rustup target add wasm32-unknown-unknown
3939
- name: Install cargo-component
4040
uses: baptiste0928/cargo-install@v3
4141
with:
@@ -75,7 +75,7 @@ jobs:
7575
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt --no-self-update
7676
rustup default ${{ env.RUST_VERSION }}
7777
- name: "Install Wasm Rust target"
78-
run: rustup target add wasm32-wasip1 && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
78+
run: rustup target add wasm32-wasip1 && rustup target add wasm32-unknown-unknown
7979
- name: Install cargo-component
8080
uses: baptiste0928/cargo-install@v3
8181
with:
@@ -108,7 +108,7 @@ jobs:
108108
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt --no-self-update
109109
rustup default ${{ env.RUST_VERSION }}
110110
- name: "Install Wasm Rust target"
111-
run: rustup target add wasm32-wasip1 && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
111+
run: rustup target add wasm32-wasip1 && rustup target add wasm32-unknown-unknown
112112
- name: Install cargo-component
113113
uses: baptiste0928/cargo-install@v3
114114
with:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ concurrency: ${{ github.workflow }}
1818

1919
env:
2020
CARGO_TERM_COLOR: always
21-
CARGO_COMPONENT_VERSION: 0.14.0
22-
RUST_VERSION: "1.80"
21+
CARGO_COMPONENT_VERSION: 0.21.1
22+
RUST_VERSION: "1.86"
2323
WASI_SDK_VERSION: "22.0"
2424
WASI_SDK_RELEASE: wasi-sdk-22
2525

@@ -81,7 +81,7 @@ jobs:
8181
run: rustup target add --toolchain ${{ env.RUST_VERSION }} ${{ matrix.config.target }}
8282

8383
- name: "Install Wasm Rust target"
84-
run: rustup target add wasm32-wasip1 --toolchain ${{ env.RUST_VERSION }} && rustup target add wasm32-wasi --toolchain ${{ env.RUST_VERSION }} && rustup target add wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
84+
run: rustup target add wasm32-wasip1 --toolchain ${{ env.RUST_VERSION }} && rustup target add wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
8585

8686
- name: Install cargo-component
8787
uses: baptiste0928/cargo-install@v3

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Building from source
44

5-
To build `spin-test` from source, you'll need to [download the `WASI_SDK`](https://github.com/WebAssembly/wasi-sdk/releases/) (needed for the C compiler used to compile some C dependencies). Once you have the SDK on your machine somewhere, point to it via the `WASI_SDK_PATH` environment variable.
5+
To build `spin-test` from source, you'll need to [download the `WASI_SDK`](https://github.com/WebAssembly/wasi-sdk/releases/) (needed for the C compiler used to compile some C dependencies).
6+
7+
Once you have the SDK on your machine somewhere, point to it via the `WASI_SDK_PATH` environment variable:
8+
9+
```bash
10+
export WASI_SDK_PATH=~/.wasi-sdk-22.0
11+
```
612

713
You can then run `cargo build --release` to build `spin-test`.

0 commit comments

Comments
 (0)