Skip to content

Commit

Permalink
update wasmtime (#35)
Browse files Browse the repository at this point in the history
* 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 <fcastelli@suse.com>

* 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 <fcastelli@suse.com>

* chore(deps): update to latest version of wasmtime

Update wasmtime-provider to consume latest version of wasmtime

Signed-off-by: Flavio Castelli <fcastelli@suse.com>

---------

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
  • Loading branch information
flavio authored Feb 13, 2023
1 parent 6299e33 commit 439bf24
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 11 deletions.
1 change: 0 additions & 1 deletion crates/wapc-codec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
clippy::equatable_if_let,
bad_style,
clashing_extern_declarations,
const_err,
dead_code,
deprecated,
explicit_outlives_requirements,
Expand Down
1 change: 0 additions & 1 deletion crates/wapc-guest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
clippy::equatable_if_let,
bad_style,
clashing_extern_declarations,
const_err,
dead_code,
deprecated,
explicit_outlives_requirements,
Expand Down
1 change: 0 additions & 1 deletion crates/wapc-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
clippy::future_not_send,
bad_style,
clashing_extern_declarations,
const_err,
dead_code,
deprecated,
explicit_outlives_requirements,
Expand Down
1 change: 0 additions & 1 deletion crates/wapc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
clippy::equatable_if_let,
bad_style,
clashing_extern_declarations,
const_err,
dead_code,
deprecated,
explicit_outlives_requirements,
Expand Down
1 change: 0 additions & 1 deletion crates/wasm3-provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
clippy::equatable_if_let,
bad_style,
clashing_extern_declarations,
const_err,
dead_code,
deprecated,
explicit_outlives_requirements,
Expand Down
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.0.0" }
log = "0.4"
wasmtime = "4.0"
wasmtime = "5.0"
anyhow = "1.0"
thiserror = "1.0"
cfg-if = "1.0.0"
parking_lot = "0.12"

# feature = wasi
wasmtime-wasi = { version = "4.0", optional = true }
wasi-common = { version = "4.0", optional = true }
wasi-cap-std-sync = { version = "4.0", optional = true }
wasmtime-wasi = { version = "5.0", optional = true }
wasi-common = { version = "5.0", optional = true }
wasi-cap-std-sync = { version = "5.0", optional = true }

[dev-dependencies]
wapc-codec = { path = "../wapc-codec" }
Expand Down
1 change: 0 additions & 1 deletion crates/wasmtime-provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
clippy::equatable_if_let,
bad_style,
clashing_extern_declarations,
const_err,
dead_code,
deprecated,
explicit_outlives_requirements,
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.65.0"
channel = "1.66.0"
components = ["rustfmt", "clippy"]
targets = ["wasm32-wasi"]

Expand Down

0 comments on commit 439bf24

Please sign in to comment.