mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
3d89fa3605
* Prevend unsoundness in environments with broken `madvise(MADV_DONTNEED)` * Add the `std` feature to `rustix` dependency Apparently not having this breaks compilation on non-nightly toolchains. * Autodetect the page size when checking whether `madvise` works * Only make sure that the madvice check doesn't return `Err`
45 lines
1.5 KiB
TOML
45 lines
1.5 KiB
TOML
[package]
|
|
name = "sc-executor-wasmtime"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
|
homepage = "https://substrate.io"
|
|
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]
|
|
cfg-if = "1.0"
|
|
codec = { package = "parity-scale-codec", version = "3.0.0" }
|
|
libc = "0.2.121"
|
|
log = "0.4.17"
|
|
parity-wasm = "0.42.0"
|
|
wasmtime = { version = "0.38.0", default-features = false, features = [
|
|
"cache",
|
|
"cranelift",
|
|
"jitdump",
|
|
"parallel-compilation",
|
|
"memory-init-cow",
|
|
"pooling-allocator",
|
|
] }
|
|
sc-allocator = { version = "4.1.0-dev", path = "../../allocator" }
|
|
sc-executor-common = { version = "0.10.0-dev", path = "../common" }
|
|
sp-runtime-interface = { version = "6.0.0", path = "../../../primitives/runtime-interface" }
|
|
sp-sandbox = { version = "0.10.0-dev", path = "../../../primitives/sandbox" }
|
|
sp-wasm-interface = { version = "6.0.0", features = ["wasmtime"], path = "../../../primitives/wasm-interface" }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
rustix = { version = "0.35.6", default-features = false, features = ["std", "mm", "fs", "param"] }
|
|
once_cell = "1.12.0"
|
|
|
|
[dev-dependencies]
|
|
wat = "1.0"
|
|
sc-runtime-test = { version = "2.0.0", path = "../runtime-test" }
|
|
sp-io = { version = "6.0.0", path = "../../../primitives/io" }
|
|
tempfile = "3.3.0"
|
|
paste = "1.0"
|