mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
6898e8416b
* add feature wasmtime-jitdump * remove unwrap * always enable wasmtime/jitdump feature * env WASMTIME_PROFILING_STRATEGY: retun an error for unknown value * Add doc for env var WASMTIME_PROFILING_STRATEGY * Update client/executor/wasmtime/Cargo.toml Co-authored-by: Sergei Shulepov <s.pepyakin@gmail.com> * warning instead of error * Update client/executor/wasmtime/src/runtime.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * update doc: unknown value cause warning instead of error * log warning only once * static right next to the usage Co-authored-by: Sergei Shulepov <s.pepyakin@gmail.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
36 lines
1.3 KiB
TOML
36 lines
1.3 KiB
TOML
[package]
|
|
name = "sc-executor-wasmtime"
|
|
version = "0.10.0-dev"
|
|
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]
|
|
libc = "0.2.90"
|
|
cfg-if = "1.0"
|
|
log = "0.4.8"
|
|
parity-wasm = "0.42.0"
|
|
codec = { package = "parity-scale-codec", version = "2.0.0" }
|
|
sc-executor-common = { version = "0.10.0-dev", path = "../common" }
|
|
sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-interface" }
|
|
sp-runtime-interface = { version = "4.0.0-dev", path = "../../../primitives/runtime-interface" }
|
|
sp-core = { version = "4.0.0-dev", path = "../../../primitives/core" }
|
|
sc-allocator = { version = "4.0.0-dev", path = "../../allocator" }
|
|
wasmtime = { version = "0.29.0", default-features = false, features = [
|
|
"cache",
|
|
"jitdump",
|
|
"parallel-compilation",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
sc-runtime-test = { version = "2.0.0", path = "../runtime-test" }
|
|
sp-io = { version = "4.0.0-dev", path = "../../../primitives/io" }
|
|
wat = "1.0"
|