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
cargo 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 kani library with the following error:
error[E0554]: `#![feature]` may not be used on the stable release channel
--> ~/.cargo/git/checkouts/kani-0ce0dacf5e98886d/281d0bb/library/kani/src/lib.rs:5:1
|
5 | #![feature(rustc_attrs)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
Would removing the transmute theoretically remove the dependency on nightly features entirely? If so, that seems like the cleanest solution and option.
But i imagine, we need incomplete_features for Arbitrary and that means we'll need nightly for arbitrary, is that correct?
Activity
celinval commentedon Sep 1, 2022
We could guard the usage of
rustc_attrsandrustc_diagnostic_itemwithcfg_attr, but I was wondering if there's a cleaner solution.celinval commentedon Sep 1, 2022
This is very similar to #1581. Same root cause.
adpaco commentedon Apr 7, 2023
I haven't been able to find one, but IMHO the
cfg_attrsolution is quite clean already.1 remaining item
jaisnan commentedon Apr 12, 2023
Would removing the transmute theoretically remove the dependency on nightly features entirely? If so, that seems like the cleanest solution and option.
But i imagine, we need
incomplete_featuresfor Arbitrary and that means we'll need nightly forarbitrary, is that correct?celinval commentedon Apr 14, 2023
The way we are doing transmute is the reason why we need the
incomplete_featuresfor arbitrary.celinval commentedon May 23, 2023
The transmute could be replaced by storing
Anyas described here: #1527feliperodri commentedon Nov 25, 2026
Closing: fixed in c87fb24. Reopen with a minimal repro if it still happens.