diff --git a/lib/runtime-core/src/typed_func.rs b/lib/runtime-core/src/typed_func.rs index 5cef19ca4..2b93060a3 100644 --- a/lib/runtime-core/src/typed_func.rs +++ b/lib/runtime-core/src/typed_func.rs @@ -216,6 +216,7 @@ pub struct DynamicFunc<'a> { unsafe impl<'a> Send for DynamicFunc<'a> {} /// Represents a function that can be used by WebAssembly. +#[derive(Clone)] pub struct Func<'a, Args = (), Rets = (), Inner: Kind = Wasm> { inner: Inner,