From 24f0c3601c4557fc3c7ed81490c31e784c47e505 Mon Sep 17 00:00:00 2001 From: s0me0ne-unkn0wn <48632512+s0me0ne-unkn0wn@users.noreply.github.com> Date: Wed, 5 Oct 2022 17:11:05 +0200 Subject: [PATCH] Implement `Clone` and `Default` for `Config` (#12397) * Implement `Clone` and `Default` for `Config` * `cargo fmt` * Remove default config implementation --- substrate/client/executor/wasmtime/src/runtime.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/substrate/client/executor/wasmtime/src/runtime.rs b/substrate/client/executor/wasmtime/src/runtime.rs index 5925a1792ae..e3509351022 100644 --- a/substrate/client/executor/wasmtime/src/runtime.rs +++ b/substrate/client/executor/wasmtime/src/runtime.rs @@ -544,6 +544,7 @@ pub struct Semantics { pub max_memory_size: Option<usize>, } +#[derive(Clone)] pub struct Config { /// The WebAssembly standard requires all imports of an instantiated module to be resolved, /// otherwise, the instantiation fails. If this option is set to `true`, then this behavior is -- GitLab