From 7adf61dbe4a3b39834bc3d665800024d66658e9c Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Tue, 15 Oct 2024 23:48:02 +0200 Subject: [PATCH] vm: derive Clone for Vm --- src/vm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.rs b/src/vm.rs index 1e1b6a6..46a24cb 100644 --- a/src/vm.rs +++ b/src/vm.rs @@ -34,7 +34,7 @@ use crate::library::{Lib, LibId, LibSite}; use crate::reg::CoreRegs; /// Alu virtual machine providing single-core execution environment -#[derive(Debug, Default)] +#[derive(Clone, Debug, Default)] pub struct Vm> where Isa: InstructionSet {