diff --git a/Makefile b/Makefile index 6ebb458b..42e9a325 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ build: unicorn/build/libunicorn-common.a: git submodule update --init --recursive - cmake -S unicorn/ -B unicorn/build -D BUILD_SHARED_LIBS=no - $(MAKE) -C ./unicorn/build -j8 + cmake -S unicorn/ -B build/unicorn -D BUILD_SHARED_LIBS=no + $(MAKE) -C ./build/unicorn -j8 build/libunicornafl: build unicorn/build/libunicorn-common.a cd ./build && cmake .. -D BUILD_SHARED_LIBS=no diff --git a/bindings/rust/src/lib.rs b/bindings/rust/src/lib.rs index 0480f107..3b3c62a9 100644 --- a/bindings/rust/src/lib.rs +++ b/bindings/rust/src/lib.rs @@ -54,7 +54,6 @@ use alloc::{boxed::Box, rc::Rc, vec::Vec}; use core::{cell::UnsafeCell, ptr}; use ffi::uc_handle; use libc::c_void; -use unicorn_const::{uc_error, Arch, HookType, MemRegion, MemType, Mode, Permission, Query}; #[derive(Debug)] pub struct Context {