eyre
eyre copied to clipboard
Support unstable-less nightly
This change attempts to put unstable features behind an opt-in feature flag as requested by issue #120. Unstable lints and compile_test.rs are both gated by this feature which is added unconditionally to all CI that touches more than just stable.
As expressed in issue #120, I have some concerns about needing to gate compile_test.rs behind feature = "unstable". I'm not certain that this unstable-less nightly eyre will work in production due to the reason that compile_test.rs fails: three of our dependencies, anyhow, thiserror, and proc-macro, all use a test for a nightly toolchain to gate unstable features. Maybe I'm wrong though and this change is sufficient!
oh wow, it looks like public_in_private's been merged on stable!
https://github.com/rust-lang/rfcs/pull/3516
I rebased to my other PR to get rid of the clippy fail, we can remove that before pushing if we want to send this first.
Cc https://github.com/rust-lang/rust/issues/120804