Skip to content

Commit f666b90

Browse files
committed
Update to Wasmtime 34.0.0
This commit updates to the [34.0.0 release of Wasmtime][rel] where the main impact in terms of API changes is the introduction of the `HasData` trait and refactoring of `add_to_linker*` functions. This now requires type annotations on bindgen-generated `add_to_linker` functions throughout the codebase. Another minor impact is that Wasmtime now requires `'static` to be specified on a few locations `T` shows up for `Store<T>`, but this was just a few small annotations here and there within Spin. [rel]: https://github.com/bytecodealliance/wasmtime/releases/tag/v34.0.0
1 parent 1d48156 commit f666b90

File tree

30 files changed

+484
-579
lines changed

30 files changed

+484
-579
lines changed

.github/actions/spin-ci-dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
type: bool
99
rust-version:
1010
description: 'Rust version to setup'
11-
default: '1.84'
11+
default: '1.85'
1212
required: false
1313
type: string
1414

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ concurrency:
1717

1818
env:
1919
CARGO_TERM_COLOR: always
20-
RUST_VERSION: 1.84
20+
RUST_VERSION: 1.85
2121

2222
jobs:
2323
dependency-review:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
concurrency: ${{ github.workflow }}-${{ github.ref }}
1212

1313
env:
14-
RUST_VERSION: 1.84
14+
RUST_VERSION: 1.85
1515

1616
jobs:
1717
build-and-sign:
@@ -172,7 +172,7 @@ jobs:
172172
with:
173173
name: spin-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}
174174
path: _dist/spin-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.zip
175-
175+
176176
- name: Upload schema as GitHub artifact
177177
if: matrix.config.generateManifestSchema
178178
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)