Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Implement Clone and Default for Config (#12397)
Browse files Browse the repository at this point in the history
* Implement `Clone` and `Default` for `Config`

* `cargo fmt`

* Remove default config implementation
  • Loading branch information
s0me0ne-unkn0wn authored Oct 5, 2022
1 parent 4cd3248 commit 87224cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/executor/wasmtime/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87224cf

Please sign in to comment.