Skip to main content

is_nightly_toolchain

Function is_nightly_toolchain 

Source
pub fn is_nightly_toolchain(rustc_version: &Version) -> bool
Expand description

Whether both Cargo and rustc are nightly/dev builds.

Unlike channel, this ignores RUSTC_BOOTSTRAP, so that nightly-only changes we test against don’t leak into stable when RUSTC_BOOTSTRAP=1.