@@ -577,27 +577,12 @@ make test
577
577
578
578
## Rust API
579
579
580
- CBMC is now offering a [ Rust API] ( src/libcprover-rust/ ) . To build that along with
581
- CBMC, you need two things:
580
+ CBMC is now offering a [ Rust API] ( src/libcprover-rust/ ) .
582
581
583
- - Rust/Cargo, instructions the installation of which can be found [ here] ( https://www.rust-lang.org/tools/install ) , and
584
- - CMake (the Rust API doesn't support being built with ` Make ` yet)
585
- - Version ` 3.19.0 ` + is required for the build, because of a dependency on CMake modules
586
- that need the higher version themselves.
587
-
588
- Provided these two are available, you can perform a CBMC build * including*
589
- the Rust API by passing in the option ` WITH_RUST_API ` to ` CMake ` like this:
590
-
591
- ``` sh
592
- $ cmake -S. -Bbuild -DWITH_RUST_API=ON < other_options>
593
- [...]
594
- -- Rust Target: aarch64-apple-darwin
595
- -- Found Rust: /opt/homebrew/bin/rustc (found version " 1.66.1" )
596
- -- Using Corrosion as a subdirectory
597
- -- Configuring done
598
- -- Generating done
599
- -- Build files have been written to: cbmc/build
600
- ```
582
+ The Rust API used to be built along with CBMC, but we have since decoupled that
583
+ to be built on its own. Instructions for doing so are in the project's
584
+ [ ` readme.md ` ] ( src/libcprover-rust/readme.md ) , which are also mirrored
585
+ on the crate's webpage at [ crates.io] ( https://crates.io/crates/libcprover_rust ) .
601
586
602
587
If you come across any issues during the configuration or the build of the Rust API,
603
588
please let us know by filing a [ bug report] ( https://github.com/diffblue/cbmc/issues/new )
0 commit comments