mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 20:28:33 +00:00
echo cargo version during install
This commit is contained in:
parent
f996b6019b
commit
e529c8e3e2
@ -229,6 +229,7 @@ fn install_server(opts: ServerOpt) -> Result<()> {
|
|||||||
let mut old_rust = false;
|
let mut old_rust = false;
|
||||||
if let Ok(output) = run_with_output("cargo --version", ".") {
|
if let Ok(output) = run_with_output("cargo --version", ".") {
|
||||||
if let Ok(stdout) = String::from_utf8(output.stdout) {
|
if let Ok(stdout) = String::from_utf8(output.stdout) {
|
||||||
|
println!("{}", stdout);
|
||||||
if !check_version(&stdout, REQUIRED_RUST_VERSION) {
|
if !check_version(&stdout, REQUIRED_RUST_VERSION) {
|
||||||
old_rust = true;
|
old_rust = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user