Skip to content

Commit 1d5bfa7

Browse files
author
Yoshiki Takashima
authored
Added note about proof harnesses under tests/ (rust-lang#1297)
1 parent 8a5e579 commit 1d5bfa7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/cargo-kani.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ cargo kani [<kani-args>]*
1111
`cargo kani` is the recommended approach for using Kani on a project, due to its
1212
ability to handle external dependencies and the option add configurations via the `Cargo.toml` file.
1313

14+
If your proof harness is placed under `tests/`, you will need to run
15+
`cargo kani` with the `--tests` for Kani to be able to find your
16+
harness.
17+
1418
## Configuration
1519

1620
Users can add a default configuration to the `Cargo.toml` file for running harnesses in a package.

0 commit comments

Comments
 (0)