From 1aa3909c7856b464bd3afc16c964572a1ad45902 Mon Sep 17 00:00:00 2001 From: mio Date: Thu, 20 Mar 2025 16:43:03 +0800 Subject: [PATCH] Fix several consts We should bump these for next release --- bindings/rust/src/unicorn_const.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bindings/rust/src/unicorn_const.rs b/bindings/rust/src/unicorn_const.rs index 6d122e14..22bae1b1 100644 --- a/bindings/rust/src/unicorn_const.rs +++ b/bindings/rust/src/unicorn_const.rs @@ -2,11 +2,11 @@ use bitflags::bitflags; pub const API_MAJOR: u64 = 2; -pub const API_MINOR: u64 = 0; +pub const API_MINOR: u64 = 1; pub const VERSION_MAJOR: u64 = 2; -pub const VERSION_MINOR: u64 = 0; -pub const VERSION_PATCH: u64 = 0; -pub const VERSION_EXTRA: u64 = 7; +pub const VERSION_MINOR: u64 = 1; +pub const VERSION_PATCH: u64 = 3; +pub const VERSION_EXTRA: u64 = 255; pub const SECOND_SCALE: u64 = 1_000_000; pub const MILISECOND_SCALE: u64 = 1_000; @@ -127,7 +127,8 @@ bitflags! { const MEM_INVALID = Self::MEM_READ_INVALID.bits() | Self::MEM_WRITE_INVALID.bits() | Self::MEM_FETCH_INVALID.bits(); const MEM_ALL = Self::MEM_VALID.bits() | Self::MEM_INVALID.bits(); - + + const TCG_OPCODE = (1<<16); const TLB = (1 << 17); } }