prusti-dev icon indicating copy to clipboard operation
prusti-dev copied to clipboard

How to install cargo-prusti into cargo?

Open rlaferla opened this issue 2 years ago • 1 comments

The MIRAI project uses cargo install --locked --path ./checker to install into cargo. e.g. cargo mirai The Kani project does similar. e.g. cargo kani I don't see any documentation on how to do this for Prusti.

rlaferla avatar Apr 20 '23 19:04 rlaferla

I don't think we have tried the install command yet. Maybe this would run into issues with the Prusti binary not being able to determine the location of the downloaded Viper tools.

However, you can include the downloaded Prusti package (or the target/debug or target/release directory in case of source builds) in your PATH, in which case cargo prusti will detect the cargo-prusti binary.

Aurel300 avatar Apr 21 '23 16:04 Aurel300