bound ExecutableInstruction with Send

This commit is contained in:
vms 2020-06-22 16:10:20 +03:00
parent 82986d1035
commit 567bec274b

View File

@ -42,7 +42,7 @@ where
pub(crate) type ExecutableInstruction<Instance, Export, LocalImport, Memory, MemoryView> = Box<
dyn Fn(
&mut Runtime<Instance, Export, LocalImport, Memory, MemoryView>,
) -> InstructionResult<()>,
) -> InstructionResult<()> + Send,
>;
/// An interpreter is the central piece of this crate. It is a set of