mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 17:28:00 +00:00
7a284fcf1d
* Update wasmtime to 0.27 A couple of notes: - Now we are fair about unsafeness of runtime creation via an compiled artifact. This change was prompted by the change in wasmtime which made `deserialize` rightfully unsafe. Now `CodeSupplyMode` was hidden and the `create_runtime` now takes the blob again and there is now a new fn for creating a runtime with a compiled artifact. - This is a big change for wasmtime. They switched to the modern backend for code generation. While this can bring performance improvements, it can also introduce some problems. In fact, 0.27 fixed a serious issue that could lead to sandbox escape. Hence we need a proper burn in. This would require a change to PVF validation host as well. * Filter regalloc logging
29 lines
1.0 KiB
TOML
29 lines
1.0 KiB
TOML
[package]
|
|
name = "sc-executor-wasmtime"
|
|
version = "0.9.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "Defines a `WasmRuntime` that uses the Wasmtime JIT to execute."
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
log = "0.4.8"
|
|
scoped-tls = "1.0"
|
|
parity-wasm = "0.42.0"
|
|
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
|
sc-executor-common = { version = "0.9.0", path = "../common" }
|
|
sp-wasm-interface = { version = "3.0.0", path = "../../../primitives/wasm-interface" }
|
|
sp-runtime-interface = { version = "3.0.0", path = "../../../primitives/runtime-interface" }
|
|
sp-core = { version = "3.0.0", path = "../../../primitives/core" }
|
|
sp-allocator = { version = "3.0.0", path = "../../../primitives/allocator" }
|
|
wasmtime = "0.27.0"
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.3.0"
|