mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 03:01:07 +00:00
Remove the wasmtime feature flag (#12684)
* Remove the `wasmtime` feature flag * rustfmt
This commit is contained in:
@@ -101,11 +101,6 @@ try-runtime-cli = { version = "0.10.0-dev", optional = true, path = "../../../ut
|
||||
serde_json = "1.0.85"
|
||||
|
||||
[target.'cfg(any(target_arch="x86_64", target_arch="aarch64"))'.dependencies]
|
||||
node-executor = { version = "3.0.0-dev", path = "../executor", features = ["wasmtime"] }
|
||||
sc-cli = { version = "0.10.0-dev", optional = true, path = "../../../client/cli", features = ["wasmtime"] }
|
||||
sc-service = { version = "0.10.0-dev", default-features = false, path = "../../../client/service", features = [
|
||||
"wasmtime",
|
||||
] }
|
||||
sp-trie = { version = "7.0.0", default-features = false, path = "../../../primitives/trie", features = [
|
||||
"memory-tracker",
|
||||
] }
|
||||
|
||||
@@ -46,7 +46,6 @@ sp-keyring = { version = "7.0.0", path = "../../../primitives/keyring" }
|
||||
sp-runtime = { version = "7.0.0", path = "../../../primitives/runtime" }
|
||||
|
||||
[features]
|
||||
wasmtime = ["sc-executor/wasmtime"]
|
||||
stress-test = []
|
||||
|
||||
[[bench]]
|
||||
|
||||
@@ -25,9 +25,10 @@ use kitchensink_runtime::{
|
||||
use node_executor::ExecutorDispatch;
|
||||
use node_primitives::{BlockNumber, Hash};
|
||||
use node_testing::keyring::*;
|
||||
#[cfg(feature = "wasmtime")]
|
||||
use sc_executor::WasmtimeInstantiationStrategy;
|
||||
use sc_executor::{Externalities, NativeElseWasmExecutor, RuntimeVersionOf, WasmExecutionMethod};
|
||||
use sc_executor::{
|
||||
Externalities, NativeElseWasmExecutor, RuntimeVersionOf, WasmExecutionMethod,
|
||||
WasmtimeInstantiationStrategy,
|
||||
};
|
||||
use sp_core::{
|
||||
storage::well_known_keys,
|
||||
traits::{CodeExecutor, RuntimeCode},
|
||||
@@ -161,7 +162,6 @@ fn bench_execute_block(c: &mut Criterion) {
|
||||
let execution_methods = vec![
|
||||
ExecutionMethod::Native,
|
||||
ExecutionMethod::Wasm(WasmExecutionMethod::Interpreted),
|
||||
#[cfg(feature = "wasmtime")]
|
||||
ExecutionMethod::Wasm(WasmExecutionMethod::Compiled {
|
||||
instantiation_strategy: WasmtimeInstantiationStrategy::PoolingCopyOnWrite,
|
||||
}),
|
||||
|
||||
@@ -28,9 +28,7 @@ sc-block-builder = { version = "0.10.0-dev", path = "../../../client/block-build
|
||||
sc-client-api = { version = "4.0.0-dev", path = "../../../client/api" }
|
||||
sc-client-db = { version = "0.10.0-dev", features = ["rocksdb"], path = "../../../client/db" }
|
||||
sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" }
|
||||
sc-executor = { version = "0.10.0-dev", features = [
|
||||
"wasmtime",
|
||||
], path = "../../../client/executor" }
|
||||
sc-executor = { version = "0.10.0-dev", path = "../../../client/executor" }
|
||||
sc-service = { version = "0.10.0-dev", features = [
|
||||
"test-helpers",
|
||||
"rocksdb",
|
||||
|
||||
Reference in New Issue
Block a user