This is an alternative to RUSTFLAGS="-Zallow-features=" that can also control cargo features. Compiling a crate that depends on anyhow with CARGO_UNSTABLE_ALLOW_FEATURES= cargo +nightly build will incorrectly try to use unstable features, resulting in a compilation error.
This is an alternative to
RUSTFLAGS="-Zallow-features="that can also control cargo features. Compiling a crate that depends on anyhow withCARGO_UNSTABLE_ALLOW_FEATURES= cargo +nightly buildwill incorrectly try to use unstable features, resulting in a compilation error.