From 70be4645d30c8017524ae2b444ac7e0c0a8448a6 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 29 Jun 2021 11:35:06 -0400 Subject: Rust API : No longer update to latest cargo nightly; Add link args back to -sys to reduce build errors --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b575f864..dfc4797d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,8 @@ project(binaryninjaapi) option(BN_API_BUILD_EXAMPLES "Builds example plugins" OFF) +set(CARGO_API_VERSION nightly-2021-06-27) + if(NOT CMAKE_SIZEOF_VOID_P EQUAL 8) if (MSVC) message(FATAL_ERROR "Binary Ninja is 64-bit only (try -G \"${CMAKE_GENERATOR} Win64\")") -- cgit v1.3.1