fix(runtime-core) Use explicit dyn for trait objects.

This commit is contained in:
Ivan Enderlin
2020-02-17 15:30:25 +01:00
parent 7b0f7ee55e
commit ad20a008e0

View File

@ -254,7 +254,7 @@ where
struct PolymorphicContext {
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(
ctx: *const CallContext,