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
{{ message }}
Repository navigation
Concrete playback instructions don't work if user sets --cfg=kani #1610
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)
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.
Activity
celinval commentedon Sep 1, 2022
Closed the wrong issue. Sorry!
celinval commentedon Feb 16, 2023
As @jaisnan and I discussed offline, one solution here would be to add a
concrete_playbackfeature tokani_macroscrate the same way we have added to thekanicrate.celinval commentedon Feb 16, 2023
I think we could even enable it by default and disable it when building our sysroot