Skip to content

Commit

Permalink
chore(deps): update wasmtime and rust toolchain (#59)
Browse files Browse the repository at this point in the history
Use latest stable release of Rust. This is required to build newer
versions of wasmtime.

As a result of the update, the resolver version to be used has to be
specified at the root level of the project. This is required to avoid
clippy warnings.

Signed-off-by: Flavio Castelli <[email protected]>
  • Loading branch information
flavio authored Aug 29, 2023
1 parent 1018b06 commit 1d86fb5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ exclude = [
"wasm/crates/wapc-guest-test",
"wasm/crates/wapc-guest-timeout",
"wasm/crates/wasm-calc-hash/module1",
"wasm/crates/wasm-calc-hash/module2"
"wasm/crates/wasm-calc-hash/module2",
]
resolver = "2"
8 changes: 4 additions & 4 deletions crates/wasmtime-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ wasi = ["wasi-common", "wasi-cap-std-sync", "wasmtime-wasi"]
[dependencies]
wapc = { path = "../wapc", version = "1.1.0" }
log = "0.4"
wasmtime = "11.0"
wasmtime = "12.0"
anyhow = "1.0"
thiserror = "1.0"
cfg-if = "1.0.0"
parking_lot = "0.12"
serde = { version = "1.0", features = ["derive"] }
# feature = wasi
wasmtime-wasi = { version = "11.0", optional = true }
wasi-common = { version = "11.0", optional = true }
wasi-cap-std-sync = { version = "11.0", optional = true }
wasmtime-wasi = { version = "12.0", optional = true }
wasi-common = { version = "12.0", optional = true }
wasi-cap-std-sync = { version = "12.0", optional = true }

[dev-dependencies]
wapc-codec = { path = "../wapc-codec" }
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.66.0"
channel = "1.72.0"
components = ["rustfmt", "clippy"]
targets = ["wasm32-wasi"]

Expand Down

0 comments on commit 1d86fb5

Please sign in to comment.