rust: Test rust-analyzer binary after finding in PATH (#17951)
Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
parent
ee8668ef45
commit
ccfd4b1887
3 changed files with 47 additions and 1 deletions
|
@ -285,6 +285,7 @@ pub trait LspAdapterDelegate: Send + Sync {
|
|||
async fn which(&self, command: &OsStr) -> Option<PathBuf>;
|
||||
async fn shell_env(&self) -> HashMap<String, String>;
|
||||
async fn read_text_file(&self, path: PathBuf) -> Result<String>;
|
||||
async fn try_exec(&self, binary: LanguageServerBinary) -> Result<()>;
|
||||
}
|
||||
|
||||
#[async_trait(?Send)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue