aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
Diffstat (limited to 'xtask')
-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 }