If you stumbled upon this repository, it is currently a work in progress. It's for a final project due in December.
- Clone the repository with submodules
git clone git@github.com:suaviloquence/rust-concurrency-verifying --recurse-submodules- Install/update
rustup.
The install script tools/activate invokes rustup directly to build the
vargo binary, so you need to have rustup (vs system Rust install).
- Install Z3, and set the
VERUS_Z3_PATHenvironment variable
verus docs say that you can use verus/tools/get-z3.sh but I haven't tested it.
verus requires Z3 v4.12.5 (unless you run with the --no-solver-version-check flag).
For me, I used:
export VERUS_Z3_PATH="$(which z3)"- Build Verus:
cd verus
# this step builds `vargo`
source tools/activate
cd source
# omit `--release` to build with debug symbols and checks
vargo build --releaseThis should build vargo and verus, as well as build and verify the vstd
standard library. For more help with this step, see verus/INSTALL.md.