From c43ab923269a7ad6336654a2f3880bb84826e88d Mon Sep 17 00:00:00 2001 From: Mark Giraud Date: Wed, 26 Jul 2023 09:58:09 +0200 Subject: [PATCH] fix: Add missing Copy derive --- bindings/rust/src/unicorn_const.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/rust/src/unicorn_const.rs b/bindings/rust/src/unicorn_const.rs index 6a72b784..c9c5f6b9 100644 --- a/bindings/rust/src/unicorn_const.rs +++ b/bindings/rust/src/unicorn_const.rs @@ -167,6 +167,7 @@ impl TryFrom for Arch { } bitflags! { + #[derive(Copy, Clone)] #[repr(C)] pub struct Mode: i32 { const LITTLE_ENDIAN = 0;