File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ endif()
259
259
option (WITH_RUST_API "Build with the CPROVER Rust API" OFF )
260
260
if (${CMAKE_VERSION} VERSION_LESS "3.19.0" AND WITH_RUST_API )
261
261
message ("Unable to build the Rust API without version CMake 3.19.0" )
262
- message ("(The Rust build depends on CMake plugins with dependencies on CMake 3.19.0 and above)" )
262
+ message (FATAL_ERROR "(The Rust build depends on CMake plugins with dependencies on CMake 3.19.0 and above)" )
263
263
else ()
264
264
if (WITH_RUST_API )
265
265
include (FetchContent )
Original file line number Diff line number Diff line change @@ -570,6 +570,8 @@ CBMC, you need two things:
570
570
571
571
- Rust/Cargo, instructions the installation of which can be found [ here] ( https://www.rust-lang.org/tools/install ) , and
572
572
- CMake (the Rust API doesn't support being built with ` Make ` yet)
573
+ - Version ` 3.19.0 ` + is required for the build, because of a dependency on CMake modules
574
+ that need the higher version themselves.
573
575
574
576
Provided these two are available, you can perform a CBMC build * including*
575
577
the Rust API by passing in the option ` WITH_RUST_API ` to ` CMake ` like this:
You can’t perform that action at this time.
0 commit comments