Skip to content

Commit 1aa3909

Browse files
committed
Fix several consts
We should bump these for next release
1 parent 0bb1bbd commit 1aa3909

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bindings/rust/src/unicorn_const.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
use bitflags::bitflags;
33

44
pub const API_MAJOR: u64 = 2;
5-
pub const API_MINOR: u64 = 0;
5+
pub const API_MINOR: u64 = 1;
66
pub const VERSION_MAJOR: u64 = 2;
7-
pub const VERSION_MINOR: u64 = 0;
8-
pub const VERSION_PATCH: u64 = 0;
9-
pub const VERSION_EXTRA: u64 = 7;
7+
pub const VERSION_MINOR: u64 = 1;
8+
pub const VERSION_PATCH: u64 = 3;
9+
pub const VERSION_EXTRA: u64 = 255;
1010
pub const SECOND_SCALE: u64 = 1_000_000;
1111
pub const MILISECOND_SCALE: u64 = 1_000;
1212

@@ -127,7 +127,8 @@ bitflags! {
127127
const MEM_INVALID = Self::MEM_READ_INVALID.bits() | Self::MEM_WRITE_INVALID.bits() | Self::MEM_FETCH_INVALID.bits();
128128

129129
const MEM_ALL = Self::MEM_VALID.bits() | Self::MEM_INVALID.bits();
130-
130+
131+
const TCG_OPCODE = (1<<16);
131132
const TLB = (1 << 17);
132133
}
133134
}

0 commit comments

Comments
 (0)