Fix outdated version

This commit is contained in:
Bet4 2022-05-04 21:31:53 +08:00
parent 8fec2f6992
commit dafdcd3f06
5 changed files with 7 additions and 4 deletions

3
.gitignore vendored
View File

@ -10,8 +10,11 @@
*.dll
*.class
*.jar
*.gem
*~
qemu/*-softmmu/
tags
qemu/config-host.ld
qemu/config.log

View File

@ -98,7 +98,7 @@ for _path in _path_list:
else:
raise ImportError("ERROR: fail to load the dynamic library.")
__version__ = "%u.%u.%u" % (uc.UC_VERSION_MAJOR, uc.UC_VERSION_MINOR, uc.UC_VERSION_EXTRA)
__version__ = "%u.%u.%u" % (uc.UC_VERSION_MAJOR, uc.UC_VERSION_MINOR, uc.UC_VERSION_PATCH)
# setup all the function prototype
def _setup_prototype(lib, fname, restype, *argtypes):

View File

@ -5,7 +5,7 @@
# Use bundle install && rake to install gem and test
install: gen_const
cd unicorn_gem && rake build
cd unicorn_gem && gem install --local pkg/unicorn-engine-1.0.1.gem
cd unicorn_gem && gem install --local pkg/unicorn-engine-2.0.0.gem
gen_const:
cd .. && python3 const_generator.py ruby

View File

@ -1,3 +1,3 @@
module Unicorn
VERSION = "1.0.1"
VERSION = "2.0.0"
end

View File

@ -32,7 +32,7 @@ Add this to your `Cargo.toml`:
```
[dependencies]
unicorn-engine = "2.0.0-rc3"
unicorn-engine = "2.0.0"
```
## Acknowledgements