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;