mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Auto merge of #17634 - lnicola:fix-xtask-install, r=lnicola
minor: Make xtask install work again CC https://github.com/rust-lang/rust-analyzer/pull/17559#issuecomment-2234052939
This commit is contained in:
commit
71c78167e8
1 changed files with 2 additions and 2 deletions
|
@ -289,7 +289,7 @@ impl Malloc {
|
|||
|
||||
impl Install {
|
||||
pub(crate) fn server(&self) -> Option<ServerOpt> {
|
||||
if !self.server {
|
||||
if (self.client || self.proc_macro_server) && !self.server {
|
||||
return None;
|
||||
}
|
||||
let malloc = if self.mimalloc {
|
||||
|
@ -308,7 +308,7 @@ impl Install {
|
|||
Some(ProcMacroServerOpt { dev_rel: self.dev_rel })
|
||||
}
|
||||
pub(crate) fn client(&self) -> Option<ClientOpt> {
|
||||
if !self.client {
|
||||
if (self.server || self.proc_macro_server) && !self.client {
|
||||
return None;
|
||||
}
|
||||
Some(ClientOpt { code_bin: self.code_bin.clone() })
|
||||
|
|
Loading…
Reference in a new issue