aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-10-30 17:52:02 +0000
committerGitHub <[email protected]>2019-10-30 17:52:02 +0000
commitce3173469c9dc9c59de903dfe33a6156168d0325 (patch)
treedecd6f49423feb6d9ca3abafcb5b59ea03e2d47c
parenteee55d4663084a01ce80f5ee201d8e1e345417cd (diff)
parente529c8e3e287b4f70fac0b078fe7ce45394f914c (diff)
Merge #2132
2132: echo cargo version during install r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
-rw-r--r--xtask/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 4d20232ff..abcbf7129 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -229,6 +229,7 @@ fn install_server(opts: ServerOpt) -> Result<()> {
229 let mut old_rust = false; 229 let mut old_rust = false;
230 if let Ok(output) = run_with_output("cargo --version", ".") { 230 if let Ok(output) = run_with_output("cargo --version", ".") {
231 if let Ok(stdout) = String::from_utf8(output.stdout) { 231 if let Ok(stdout) = String::from_utf8(output.stdout) {
232 println!("{}", stdout);
232 if !check_version(&stdout, REQUIRED_RUST_VERSION) { 233 if !check_version(&stdout, REQUIRED_RUST_VERSION) {
233 old_rust = true; 234 old_rust = true;
234 } 235 }