mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-04 18:10:18 +00:00
make func clonable
This commit is contained in:
parent
03df15a3eb
commit
c3e9e36782
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user