Skip to content

Commit 439bf24

Browse files
authored
update wasmtime (#35)
* chore(deps): update rust version Update to latest stable release of Rust, this is required to build wasmtime's latest release. Signed-off-by: Flavio Castelli <[email protected]> * chore(refactor): fix clippy warnings The lint `const_err` has been removed: converted into hard error, see issue #71800 <rust-lang/rust#71800> for more information Signed-off-by: Flavio Castelli <[email protected]> * chore(deps): update to latest version of wasmtime Update wasmtime-provider to consume latest version of wasmtime Signed-off-by: Flavio Castelli <[email protected]> --------- Signed-off-by: Flavio Castelli <[email protected]>
1 parent 6299e33 commit 439bf24

File tree

8 files changed

+5
-11
lines changed

8 files changed

+5
-11
lines changed

crates/wapc-codec/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
clippy::equatable_if_let,
4545
bad_style,
4646
clashing_extern_declarations,
47-
const_err,
4847
dead_code,
4948
deprecated,
5049
explicit_outlives_requirements,

crates/wapc-guest/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
clippy::equatable_if_let,
4545
bad_style,
4646
clashing_extern_declarations,
47-
const_err,
4847
dead_code,
4948
deprecated,
5049
explicit_outlives_requirements,

crates/wapc-pool/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
clippy::future_not_send,
4545
bad_style,
4646
clashing_extern_declarations,
47-
const_err,
4847
dead_code,
4948
deprecated,
5049
explicit_outlives_requirements,

crates/wapc/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
clippy::equatable_if_let,
4545
bad_style,
4646
clashing_extern_declarations,
47-
const_err,
4847
dead_code,
4948
deprecated,
5049
explicit_outlives_requirements,

crates/wasm3-provider/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
clippy::equatable_if_let,
4545
bad_style,
4646
clashing_extern_declarations,
47-
const_err,
4847
dead_code,
4948
deprecated,
5049
explicit_outlives_requirements,

crates/wasmtime-provider/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ wasi = ["wasi-common", "wasi-cap-std-sync", "wasmtime-wasi"]
3030
[dependencies]
3131
wapc = { path = "../wapc", version = "1.0.0" }
3232
log = "0.4"
33-
wasmtime = "4.0"
33+
wasmtime = "5.0"
3434
anyhow = "1.0"
3535
thiserror = "1.0"
3636
cfg-if = "1.0.0"
3737
parking_lot = "0.12"
3838

3939
# feature = wasi
40-
wasmtime-wasi = { version = "4.0", optional = true }
41-
wasi-common = { version = "4.0", optional = true }
42-
wasi-cap-std-sync = { version = "4.0", optional = true }
40+
wasmtime-wasi = { version = "5.0", optional = true }
41+
wasi-common = { version = "5.0", optional = true }
42+
wasi-cap-std-sync = { version = "5.0", optional = true }
4343

4444
[dev-dependencies]
4545
wapc-codec = { path = "../wapc-codec" }

crates/wasmtime-provider/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
clippy::equatable_if_let,
4545
bad_style,
4646
clashing_extern_declarations,
47-
const_err,
4847
dead_code,
4948
deprecated,
5049
explicit_outlives_requirements,

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "1.65.0"
2+
channel = "1.66.0"
33
components = ["rustfmt", "clippy"]
44
targets = ["wasm32-wasi"]
55

0 commit comments

Comments
 (0)