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
Requested feature: Currently, harnesses need to be annotated with #[kani::proof], and with #[kani::unwind(n)] if the harness requires an unwinding. Would be nice if those two can be combined, e.g.:
Activity
tedinski commentedon May 24, 2022
iirc, we explicitly decided against this, I don't remember why though
camshaft commentedon May 24, 2022
combining the attributes would make it a bit cleaner when using
cfg_attr:#[cfg_attr(kani, kani::proof(unwind = 8))]vs
zhassan-aws commentedon May 24, 2022
According to https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute, it should be possible to combine them into one
cfg_attr?
camshaft commentedon May 24, 2022
oh nice. i didn't know you could do that!