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()
259259option (WITH_RUST_API "Build with the CPROVER Rust API" OFF )
260260if (${CMAKE_VERSION} VERSION_LESS "3.19.0" AND WITH_RUST_API)
261261 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)" )
263263else ()
264264 if (WITH_RUST_API)
265265 include (FetchContent)
Original file line number Diff line number Diff line change @@ -570,6 +570,8 @@ CBMC, you need two things:
570570
571571- Rust/Cargo, instructions the installation of which can be found [ here] ( https://www.rust-lang.org/tools/install ) , and
572572- 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.
573575
574576Provided these two are available, you can perform a CBMC build * including*
575577the 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