Nightly probe ignores CARGO_UNSTABLE_ALLOW_FEATURES
Author: bjorn3Created Jun 29, 2026Updated Jun 29, 2026
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.
Source: dtolnay/anyhow