mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Don't print cargo version to stdout, breaking everything
This commit is contained in:
parent
51a0058d4c
commit
aa669c5ba5
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ impl CargoWorkspace {
|
||||||
) -> Result<CargoWorkspace> {
|
) -> Result<CargoWorkspace> {
|
||||||
let _ = Command::new(cargo_binary())
|
let _ = Command::new(cargo_binary())
|
||||||
.arg("--version")
|
.arg("--version")
|
||||||
.status()
|
.output()
|
||||||
.context("failed to run `cargo --version`, is `cargo` in PATH?")?;
|
.context("failed to run `cargo --version`, is `cargo` in PATH?")?;
|
||||||
|
|
||||||
let mut meta = MetadataCommand::new();
|
let mut meta = MetadataCommand::new();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue