Don't inject clippy into rls on stable/beta
This commit is contained in:
parent
ca26ef321c
commit
34956c8e8e
1 changed files with 2 additions and 1 deletions
|
|
@ -564,7 +564,8 @@ tool_extended!((self, builder),
|
|||
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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue