mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 05:33:41 +00:00
Consider "dev" as nightly for feature (un)gating
This commit is contained in:
parent
a15df80e96
commit
8cc4200b7d
@ -73,7 +73,7 @@ impl ConfigType for IgnoreList {
|
||||
macro_rules! is_nightly_channel {
|
||||
() => {
|
||||
option_env!("CFG_RELEASE_CHANNEL")
|
||||
.map(|c| c == "nightly")
|
||||
.map(|c| c == "nightly" || c == "dev")
|
||||
.unwrap_or(true)
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user