Function version_check::supports_features [−][src]
pub fn supports_features() -> Option<bool>
Determines whether the running or installed rustc
supports feature flags.
In other words, if the channel is either "nightly" or "dev".
If the version could not be determined, returns None
. Otherwise returns
Some(true)
if the running version supports features, and Some(false)
otherwise.