mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 04:31:33 +00:00
fix(runtime-core) Use explicit dyn
for trait objects.
This commit is contained in:
@ -254,7 +254,7 @@ where
|
|||||||
|
|
||||||
struct PolymorphicContext {
|
struct PolymorphicContext {
|
||||||
arg_types: Vec<Type>,
|
arg_types: Vec<Type>,
|
||||||
func: Box<Fn(&mut vm::Ctx, &[Value]) -> Vec<Value>>,
|
func: Box<dyn Fn(&mut vm::Ctx, &[Value]) -> Vec<Value>>,
|
||||||
}
|
}
|
||||||
unsafe extern "C" fn enter_host_polymorphic(
|
unsafe extern "C" fn enter_host_polymorphic(
|
||||||
ctx: *const CallContext,
|
ctx: *const CallContext,
|
||||||
|
Reference in New Issue
Block a user