mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Don't inject clippy into rls on stable/beta
This commit is contained in:
@@ -564,7 +564,8 @@ fn run(mut $sel, $builder: &Builder) -> Option<PathBuf> {
|
||||
target: self.target,
|
||||
extra_features: Vec::new(),
|
||||
});
|
||||
if clippy.is_some() {
|
||||
let channel = &builder.config.channel;
|
||||
if clippy.is_some() && channel != "stable" && channel != "beta" {
|
||||
self.extra_features.push("clippy".to_owned());
|
||||
}
|
||||
builder.ensure(native::Openssl {
|
||||
|
||||
Reference in New Issue
Block a user