Fix rust bindings
This commit is contained in:
@ -87,7 +87,7 @@ fn main() {
|
|||||||
cmd.current_dir(&unicorn_dir)
|
cmd.current_dir(&unicorn_dir)
|
||||||
.arg("-B")
|
.arg("-B")
|
||||||
.arg("rust_build")
|
.arg("rust_build")
|
||||||
.arg("-DUNICORN_BUILD_SHARED=off")
|
.arg("-DBUILD_SHARED_LIBS=OFF")
|
||||||
.arg("-G")
|
.arg("-G")
|
||||||
.arg("Visual Studio 16 2019");
|
.arg("Visual Studio 16 2019");
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ fn main() {
|
|||||||
cmd.current_dir(&unicorn_dir)
|
cmd.current_dir(&unicorn_dir)
|
||||||
.arg("-B")
|
.arg("-B")
|
||||||
.arg("rust_build")
|
.arg("rust_build")
|
||||||
.arg("-DUNICORN_BUILD_SHARED=off");
|
.arg("-DBUILD_SHARED_LIBS=OFF");
|
||||||
|
|
||||||
if profile == "debug" {
|
if profile == "debug" {
|
||||||
cmd.arg("-DCMAKE_BUILD_TYPE=Debug");
|
cmd.arg("-DCMAKE_BUILD_TYPE=Debug");
|
||||||
|
Reference in New Issue
Block a user