Update wasmtime to 0.35.3 (#11058)

* Update wasmtime to 0.35.2 and default `zstd` features in all crates

* Update wasmtime to 0.35.3
This commit is contained in:
Nazar Mokrynskyi
2022-04-14 16:07:36 +03:00
committed by GitHub
parent 001ade9c5d
commit e5c33d8aa4
7 changed files with 94 additions and 83 deletions
+88 -77
View File
@@ -1159,11 +1159,11 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-bforest" name = "cranelift-bforest"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9516ba6b2ba47b4cbf63b713f75b432fafa0a0e0464ec8381ec76e6efe931ab3" checksum = "38faa2a16616c8e78a18d37b4726b98bfd2de192f2fdc8a39ddf568a408a0f75"
dependencies = [ dependencies = [
"cranelift-entity 0.80.0", "cranelift-entity 0.82.3",
] ]
[[package]] [[package]]
@@ -1185,17 +1185,17 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-codegen" name = "cranelift-codegen"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "489e5d0081f7edff6be12d71282a8bf387b5df64d5592454b75d662397f2d642" checksum = "26f192472a3ba23860afd07d2b0217dc628f21fcc72617aa1336d98e1671f33b"
dependencies = [ dependencies = [
"cranelift-bforest 0.80.0", "cranelift-bforest 0.82.3",
"cranelift-codegen-meta 0.80.0", "cranelift-codegen-meta 0.82.3",
"cranelift-codegen-shared 0.80.0", "cranelift-codegen-shared 0.82.3",
"cranelift-entity 0.80.0", "cranelift-entity 0.82.3",
"gimli 0.26.1", "gimli 0.26.1",
"log 0.4.14", "log 0.4.14",
"regalloc 0.0.33", "regalloc 0.0.34",
"smallvec 1.8.0", "smallvec 1.8.0",
"target-lexicon", "target-lexicon",
] ]
@@ -1212,11 +1212,11 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-codegen-meta" name = "cranelift-codegen-meta"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d36ee1140371bb0f69100e734b30400157a4adf7b86148dee8b0a438763ead48" checksum = "0f32ddb89e9b89d3d9b36a5b7d7ea3261c98235a76ac95ba46826b8ec40b1a24"
dependencies = [ dependencies = [
"cranelift-codegen-shared 0.80.0", "cranelift-codegen-shared 0.82.3",
] ]
[[package]] [[package]]
@@ -1227,9 +1227,9 @@ checksum = "9dabb5fe66e04d4652e434195b45ae65b5c8172d520247b8f66d8df42b2b45dc"
[[package]] [[package]]
name = "cranelift-codegen-shared" name = "cranelift-codegen-shared"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "981da52d8f746af1feb96290c83977ff8d41071a7499e991d8abae0d4869f564" checksum = "01fd0d9f288cc1b42d9333b7a776b17e278fc888c28e6a0f09b5573d45a150bc"
[[package]] [[package]]
name = "cranelift-entity" name = "cranelift-entity"
@@ -1239,9 +1239,9 @@ checksum = "3329733e4d4b8e91c809efcaa4faee80bf66f20164e3dd16d707346bd3494799"
[[package]] [[package]]
name = "cranelift-entity" name = "cranelift-entity"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2906740053dd3bcf95ce53df0fd9b5649c68ae4bd9adada92b406f059eae461" checksum = "9e3bfe172b83167604601faf9dc60453e0d0a93415b57a9c4d1a7ae6849185cf"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@@ -1260,11 +1260,11 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-frontend" name = "cranelift-frontend"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b7cb156de1097f567d46bf57a0cd720a72c3e15e1a2bd8b1041ba2fc894471b7" checksum = "a006e3e32d80ce0e4ba7f1f9ddf66066d052a8c884a110b91d05404d6ce26dce"
dependencies = [ dependencies = [
"cranelift-codegen 0.80.0", "cranelift-codegen 0.82.3",
"log 0.4.14", "log 0.4.14",
"smallvec 1.8.0", "smallvec 1.8.0",
"target-lexicon", "target-lexicon",
@@ -1272,28 +1272,28 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-native" name = "cranelift-native"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "166028ca0343a6ee7bddac0e70084e142b23f99c701bd6f6ea9123afac1a7a46" checksum = "501241b0cdf903412ec9075385ac9f2b1eb18a89044d1538e97fab603231f70c"
dependencies = [ dependencies = [
"cranelift-codegen 0.80.0", "cranelift-codegen 0.82.3",
"libc", "libc",
"target-lexicon", "target-lexicon",
] ]
[[package]] [[package]]
name = "cranelift-wasm" name = "cranelift-wasm"
version = "0.80.0" version = "0.82.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5012a1cde0c8b3898770b711490d803018ae9bec2d60674ba0e5b2058a874f80" checksum = "16d9e4211bbc3268042a96dd4de5bd979cda22434991d035f5f8eacba987fad2"
dependencies = [ dependencies = [
"cranelift-codegen 0.80.0", "cranelift-codegen 0.82.3",
"cranelift-entity 0.80.0", "cranelift-entity 0.82.3",
"cranelift-frontend 0.80.0", "cranelift-frontend 0.82.3",
"itertools", "itertools",
"log 0.4.14", "log 0.4.14",
"smallvec 1.8.0", "smallvec 1.8.0",
"wasmparser 0.81.0", "wasmparser 0.83.0",
"wasmtime-types", "wasmtime-types",
] ]
@@ -3191,12 +3191,9 @@ dependencies = [
[[package]] [[package]]
name = "io-lifetimes" name = "io-lifetimes"
version = "0.4.4" version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6ef6787e7f0faedc040f95716bdd0e62bcfcf4ba93da053b62dea2691c13864" checksum = "ec58677acfea8a15352d42fc87d11d63596ade9239e0a7c9352914417515dbe6"
dependencies = [
"winapi 0.3.9",
]
[[package]] [[package]]
name = "iovec" name = "iovec"
@@ -4228,9 +4225,9 @@ dependencies = [
[[package]] [[package]]
name = "linux-raw-sys" name = "linux-raw-sys"
version = "0.0.36" version = "0.0.42"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a261afc61b7a5e323933b402ca6a1765183687c614789b1e4db7762ed4230bca" checksum = "5284f00d480e1c39af34e72f8ad60b94f47007e3481cd3b731c1d67190ddc7b7"
[[package]] [[package]]
name = "lite-json" name = "lite-json"
@@ -5319,9 +5316,9 @@ dependencies = [
[[package]] [[package]]
name = "once_cell" name = "once_cell"
version = "1.8.0" version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"
[[package]] [[package]]
name = "oorandom" name = "oorandom"
@@ -7702,9 +7699,9 @@ dependencies = [
[[package]] [[package]]
name = "regalloc" name = "regalloc"
version = "0.0.33" version = "0.0.34"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d808cff91dfca7b239d40b972ba628add94892b1d9e19a842aedc5cfae8ab1a" checksum = "62446b1d3ebf980bdc68837700af1d77b37bc430e524bf95319c6eada2a4cc02"
dependencies = [ dependencies = [
"log 0.4.14", "log 0.4.14",
"rustc-hash", "rustc-hash",
@@ -7913,9 +7910,9 @@ dependencies = [
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "0.31.3" version = "0.33.5"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b2dcfc2778a90e38f56a708bfc90572422e11d6c7ee233d053d1f782cf9df6d2" checksum = "03627528abcc4a365554d32a9f3bbf67f7694c102cfeda792dc86a2d6057cc85"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"errno", "errno",
@@ -12115,34 +12112,33 @@ checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65"
[[package]] [[package]]
name = "wasmparser" name = "wasmparser"
version = "0.81.0" version = "0.83.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98930446519f63d00a836efdc22f67766ceae8dbcc1571379f2bcabc6b2b9abc" checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a"
[[package]] [[package]]
name = "wasmtime" name = "wasmtime"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "414be1bc5ca12e755ffd3ff7acc3a6d1979922f8237fc34068b2156cebcc3270" checksum = "21ffb4705016d5ca91e18a72ed6822dab50e6d5ddd7045461b17ef19071cdef1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
"bincode", "bincode",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"cpp_demangle",
"indexmap", "indexmap",
"lazy_static", "lazy_static",
"libc", "libc",
"log 0.4.14", "log 0.4.14",
"object 0.27.1", "object 0.27.1",
"once_cell",
"paste 1.0.6", "paste 1.0.6",
"psm", "psm",
"rayon", "rayon",
"region 2.2.0", "region 2.2.0",
"rustc-demangle",
"serde", "serde",
"target-lexicon", "target-lexicon",
"wasmparser 0.81.0", "wasmparser 0.83.0",
"wasmtime-cache", "wasmtime-cache",
"wasmtime-cranelift", "wasmtime-cranelift",
"wasmtime-environ", "wasmtime-environ",
@@ -12153,9 +12149,9 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cache" name = "wasmtime-cache"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b9b4cd1949206fda9241faf8c460a7d797aa1692594d3dd6bc1cbfa57ee20d0" checksum = "85c6ab24291fa7cb3a181f5669f6c72599b7ef781669759b45c7828c5999d0c0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.13.0", "base64 0.13.0",
@@ -12173,14 +12169,14 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cranelift" name = "wasmtime-cranelift"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4693d33725773615a4c9957e4aa731af57b27dca579702d1d8ed5750760f1a9" checksum = "f04c810078a491b7bc4866ebe045f714d2b95e6b539e1f64009a4a7606be11de"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen 0.80.0", "cranelift-codegen 0.82.3",
"cranelift-entity 0.80.0", "cranelift-entity 0.82.3",
"cranelift-frontend 0.80.0", "cranelift-frontend 0.82.3",
"cranelift-native", "cranelift-native",
"cranelift-wasm", "cranelift-wasm",
"gimli 0.26.1", "gimli 0.26.1",
@@ -12189,18 +12185,18 @@ dependencies = [
"object 0.27.1", "object 0.27.1",
"target-lexicon", "target-lexicon",
"thiserror", "thiserror",
"wasmparser 0.81.0", "wasmparser 0.83.0",
"wasmtime-environ", "wasmtime-environ",
] ]
[[package]] [[package]]
name = "wasmtime-environ" name = "wasmtime-environ"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b17e47116a078b9770e6fb86cff8b9a660826623cebcfff251b047c8d8993ef" checksum = "61448266ea164b1ac406363cdcfac81c7c44db4d94c7a81c8620ac6c5c6cdf59"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-entity 0.80.0", "cranelift-entity 0.82.3",
"gimli 0.26.1", "gimli 0.26.1",
"indexmap", "indexmap",
"log 0.4.14", "log 0.4.14",
@@ -12209,44 +12205,58 @@ dependencies = [
"serde", "serde",
"target-lexicon", "target-lexicon",
"thiserror", "thiserror",
"wasmparser 0.81.0", "wasmparser 0.83.0",
"wasmtime-types", "wasmtime-types",
] ]
[[package]] [[package]]
name = "wasmtime-jit" name = "wasmtime-jit"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60ea5b380bdf92e32911400375aeefb900ac9d3f8e350bb6ba555a39315f2ee7" checksum = "156b4623c6b0d4b8c24afb846c20525922f538ef464cc024abab7ea8de2109a2"
dependencies = [ dependencies = [
"addr2line", "addr2line",
"anyhow", "anyhow",
"bincode", "bincode",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"cpp_demangle",
"gimli 0.26.1", "gimli 0.26.1",
"log 0.4.14",
"object 0.27.1", "object 0.27.1",
"region 2.2.0", "region 2.2.0",
"rustc-demangle",
"rustix", "rustix",
"serde", "serde",
"target-lexicon", "target-lexicon",
"thiserror", "thiserror",
"wasmtime-environ", "wasmtime-environ",
"wasmtime-jit-debug",
"wasmtime-runtime", "wasmtime-runtime",
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]] [[package]]
name = "wasmtime-runtime" name = "wasmtime-jit-debug"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "abc7cd79937edd6e238b337608ebbcaf9c086a8457f01dfd598324f7fa56d81a" checksum = "d5dc31f811760a6c76b2672c404866fd19b75e5fb3b0075a3e377a6846490654"
dependencies = [
"lazy_static",
"object 0.27.1",
"rustix",
]
[[package]]
name = "wasmtime-runtime"
version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f907beaff69d4d920fa4688411ee4cc75c0f01859e424677f9e426e2ef749864"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
"cc", "cc",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"indexmap", "indexmap",
"lazy_static",
"libc", "libc",
"log 0.4.14", "log 0.4.14",
"mach", "mach",
@@ -12257,19 +12267,20 @@ dependencies = [
"rustix", "rustix",
"thiserror", "thiserror",
"wasmtime-environ", "wasmtime-environ",
"wasmtime-jit-debug",
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]] [[package]]
name = "wasmtime-types" name = "wasmtime-types"
version = "0.33.0" version = "0.35.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9e5e51a461a2cf2b69e1fc48f325b17d78a8582816e18479e8ead58844b23f8" checksum = "514ef0e5fd197b9609dc9eb74beba0c84d5a12b2417cbae55534633329ba4852"
dependencies = [ dependencies = [
"cranelift-entity 0.80.0", "cranelift-entity 0.82.3",
"serde", "serde",
"thiserror", "thiserror",
"wasmparser 0.81.0", "wasmparser 0.83.0",
] ]
[[package]] [[package]]
@@ -12566,18 +12577,18 @@ dependencies = [
[[package]] [[package]]
name = "zstd" name = "zstd"
version = "0.9.0+zstd.1.5.0" version = "0.10.0+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07749a5dc2cb6b36661290245e350f15ec3bbb304e493db54a1d354480522ccd" checksum = "3b1365becbe415f3f0fcd024e2f7b45bacfb5bdd055f0dc113571394114e7bdd"
dependencies = [ dependencies = [
"zstd-safe", "zstd-safe",
] ]
[[package]] [[package]]
name = "zstd-safe" name = "zstd-safe"
version = "4.1.1+zstd.1.5.0" version = "4.1.4+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c91c90f2c593b003603e5e0493c837088df4469da25aafff8bce42ba48caf079" checksum = "2f7cd17c9af1a4d6c24beb1cc54b17e2ef7b593dc92f19e9d9acad8b182bbaee"
dependencies = [ dependencies = [
"libc", "libc",
"zstd-sys", "zstd-sys",
@@ -12585,9 +12596,9 @@ dependencies = [
[[package]] [[package]]
name = "zstd-sys" name = "zstd-sys"
version = "1.6.1+zstd.1.5.0" version = "1.6.3+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33" checksum = "fc49afa5c8d634e75761feda8c592051e7eeb4683ba827211eb0d731d3402ea8"
dependencies = [ dependencies = [
"cc", "cc",
"libc", "libc",
@@ -23,7 +23,7 @@ sp-wasm-interface = { version = "6.0.0", path = "../../../primitives/wasm-interf
sp-runtime-interface = { version = "6.0.0", path = "../../../primitives/runtime-interface" } sp-runtime-interface = { version = "6.0.0", path = "../../../primitives/runtime-interface" }
sp-core = { version = "6.0.0", path = "../../../primitives/core" } sp-core = { version = "6.0.0", path = "../../../primitives/core" }
sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sc-allocator = { version = "4.1.0-dev", path = "../../allocator" }
wasmtime = { version = "0.33.0", default-features = false, features = [ wasmtime = { version = "0.35.3", default-features = false, features = [
"cache", "cache",
"cranelift", "cranelift",
"jitdump", "jitdump",
@@ -30,7 +30,7 @@ frame-benchmarking = { default-features = false, path = "../benchmarking", optio
serde = { version = "1.0.133", optional = true } serde = { version = "1.0.133", optional = true }
thousands = { version = "0.2.0", optional = true } thousands = { version = "0.2.0", optional = true }
remote-externalities = { path = "../../utils/frame/remote-externalities", optional = true } remote-externalities = { path = "../../utils/frame/remote-externalities", optional = true }
zstd = { version = "0.9.0", optional = true } zstd = { version = "0.10.0", default-features = false, optional = true }
[dev-dependencies] [dev-dependencies]
pallet-balances = { path = "../balances" } pallet-balances = { path = "../balances" }
@@ -12,4 +12,4 @@ readme = "README.md"
[dependencies] [dependencies]
thiserror = "1.0" thiserror = "1.0"
zstd = { version = "0.9.0", default-features = false } zstd = { version = "0.10.0", default-features = false }
+1 -1
View File
@@ -38,7 +38,7 @@ sp-state-machine = { version = "0.12.0", path = "../state-machine" }
sp-api = { version = "4.0.0-dev", path = "../api" } sp-api = { version = "4.0.0-dev", path = "../api" }
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" } substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" } sp-tracing = { version = "5.0.0", path = "../../primitives/tracing" }
zstd = "0.9" zstd = { version = "0.10.0", default-features = false }
[features] [features]
bench = [] bench = []
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies] [dependencies]
wasmi = { version = "0.9.1", optional = true } wasmi = { version = "0.9.1", optional = true }
wasmtime = { version = "0.33.0", optional = true, default-features = false } wasmtime = { version = "0.35.3", optional = true, default-features = false }
log = { version = "0.4.14", optional = true } log = { version = "0.4.14", optional = true }
impl-trait-for-tuples = "0.2.2" impl-trait-for-tuples = "0.2.2"
sp-std = { version = "4.0.0", path = "../std", default-features = false } sp-std = { version = "4.0.0", path = "../std", default-features = false }
@@ -17,7 +17,7 @@ clap = { version = "3.1.6", features = ["derive"] }
log = "0.4.8" log = "0.4.8"
parity-scale-codec = "3.0.0" parity-scale-codec = "3.0.0"
serde = "1.0.136" serde = "1.0.136"
zstd = "0.9.0" zstd = { version = "0.10.0", default-features = false }
sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../../client/service" } sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../../client/service" }
sc-cli = { version = "0.10.0-dev", path = "../../../../client/cli" } sc-cli = { version = "0.10.0-dev", path = "../../../../client/cli" }