diff options
| -rw-r--r-- | CHANGELOG | 5 | ||||
| -rw-r--r-- | src/armv7.rs | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +## 0.5.0 + +* ARMv7 instructions now impl Copy and Clone, matching A64 instructions and so + many enums/structures from decoded instructions. + ## 0.4.0 * ARMv7 and A64 `Opcode` and `Operand` are now `#[non_exhaustive]`. diff --git a/src/armv7.rs b/src/armv7.rs index 3e289b6..1a0a7d5 100644 --- a/src/armv7.rs +++ b/src/armv7.rs @@ -770,7 +770,7 @@ pub enum Bank { } /// a `armv7` or below instruction. -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Instruction { /// the condition code for this instruction, defaults to `AL` if the instruction is /// unconditional. |
