Skip to content

Commit

Permalink
Bump wasmtime to 1.0.0 (paritytech#12317)
Browse files Browse the repository at this point in the history
  • Loading branch information
koute authored and ark0f committed Feb 27, 2023
1 parent cfe5388 commit da9d9ba
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 62 deletions.
120 changes: 61 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions client/executor/wasmtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ parity-wasm = "0.45"

# When bumping wasmtime do not forget to also bump rustix
# to exactly the same version as used by wasmtime!
wasmtime = { version = "0.40.1", default-features = false, features = [
wasmtime = { version = "1.0.0", default-features = false, features = [
"cache",
"cranelift",
"jitdump",
Expand All @@ -35,7 +35,8 @@ sp-runtime-interface = { version = "6.0.0", path = "../../../primitives/runtime-
sp-sandbox = { version = "0.10.0-dev", path = "../../../primitives/sandbox" }
sp-wasm-interface = { version = "6.0.0", features = ["wasmtime"], path = "../../../primitives/wasm-interface" }

# Here we include the rustix crate used by wasmtime just to enable its 'use-libc' flag.
# Here we include the rustix crate in the exactly same semver-compatible version as used by
# wasmtime and enable its 'use-libc' flag.
#
# By default rustix directly calls the appropriate syscalls completely bypassing libc;
# this doesn't have any actual benefits for us besides making it harder to debug memory
Expand Down
2 changes: 1 addition & 1 deletion primitives/wasm-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features =
impl-trait-for-tuples = "0.2.2"
log = { version = "0.4.17", optional = true }
wasmi = { version = "0.13", optional = true }
wasmtime = { version = "0.40.1", default-features = false, optional = true }
wasmtime = { version = "1.0.0", default-features = false, optional = true }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }

[features]
Expand Down

0 comments on commit da9d9ba

Please sign in to comment.