aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/main.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-10-30 17:49:04 +0000
committerAleksey Kladov <[email protected]>2019-10-30 17:49:04 +0000
commite529c8e3e287b4f70fac0b078fe7ce45394f914c (patch)
tree044db0486f32140f911568122f02ce691903bb10 /xtask/src/main.rs
parentf996b6019bd2f388bd9994ea83f25487eb111560 (diff)
echo cargo version during install
Diffstat (limited to 'xtask/src/main.rs')
-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 04dca402c..d88b7ef37 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 }