diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-03-13 19:49:36 -0700 |
|---|---|---|
| committer | Peter Atashian <retep998@gmail.com> | 2017-03-21 16:26:13 -0400 |
| commit | fe2b7a49524c889715fb3346d4d309ecbd6ba651 (patch) | |
| tree | 40bcd4ded0af76fb077ff5f9969ab71cc669504e /src/bootstrap/lib.rs | |
| parent | 58c701f5c7dc26d9b55c631006ece52abe1ddce2 (diff) | |
| download | rust-fe2b7a49524c889715fb3346d4d309ecbd6ba651.tar.gz rust-fe2b7a49524c889715fb3346d4d309ecbd6ba651.zip | |
rustbuild: Don't hardcode 'nightly' for Cargo
It now follows rustc release trains
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 26f3c063061..84254d7d6ae 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -1015,6 +1015,11 @@ impl Build { self.package_vers(channel::CFG_RELEASE_NUM) } + /// Returns the value of `package_vers` above for Cargo + fn cargo_package_vers(&self) -> String { + self.package_vers(&self.cargo_release_num()) + } + /// Returns the `version` string associated with this compiler for Rust /// itself. /// |
