From: Marc-Antoine Perennou Date: Thu, 27 Apr 2017 09:49:03 +0000 (+0200) Subject: rustbuild: add rls_package_vers X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a2bab1ddf56e080100ccf73e29b161f8122bd5d4;p=rust.git rustbuild: add rls_package_vers Signed-off-by: Marc-Antoine Perennou --- diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index bbfab388950..43726ea1c43 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1048,6 +1048,11 @@ fn cargo_package_vers(&self) -> String { self.package_vers(&self.release_num("cargo")) } + /// Returns the value of `package_vers` above for rls + fn rls_package_vers(&self) -> String { + self.package_vers(&self.release_num("rls")) + } + /// Returns the `version` string associated with this compiler for Rust /// itself. ///