mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-04 18:10:18 +00:00
Merge #1427
1427: Make func clonable r=MarkMcCaskey a=michaelvoronov Resolves https://github.com/wasmerio/wasmer/issues/1420. Co-authored-by: vms <michail.vms@gmail.com>
This commit is contained in:
commit
4a37bac7e1
@ -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