You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo kani --enable-unstable --concrete-playback
RUSTFLAGS="--cfg=kani" cargo +nightly test
with Kani version: 0.9.0
I expected to see this happen: Cargo runs the new test and fail.
Instead, this happened: Cargo failed to build the harness with the following error:
error[E0433]: failed to resolve: use of undeclared crate or module `kanitool`
--> src/main.rs:36:5
|
36 | #[kani::proof]
| ^^^^^^^^^^^^^^ use of undeclared crate or module `kanitool`
|
= note: this error originates in the attribute macro `kani::proof` (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
As @jaisnan and I discussed offline, one solution here would be to add a concrete_playback feature to kani_macros crate the same way we have added to the kani crate.
I tried the following:
I added the following line to
Cargo.toml
I opened src/main.rs
using the following command line invocation:
with Kani version: 0.9.0
I expected to see this happen: Cargo runs the new test and fail.
Instead, this happened: Cargo failed to build the harness with the following error:
The text was updated successfully, but these errors were encountered: