mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Merge branch 'beta-prerelease' of https://github.com/cuviper/rust into rollup
This commit is contained in:
@@ -771,7 +771,11 @@ fn openssl_install_dir(&self, target: Interned<String>) -> Option<PathBuf> {
|
||||
fn release(&self, num: &str) -> String {
|
||||
match &self.config.channel[..] {
|
||||
"stable" => num.to_string(),
|
||||
"beta" => format!("{}-beta.{}", num, self.beta_prerelease_version()),
|
||||
"beta" => if self.rust_info.is_git() {
|
||||
format!("{}-beta.{}", num, self.beta_prerelease_version())
|
||||
} else {
|
||||
format!("{}-beta", num)
|
||||
},
|
||||
"nightly" => format!("{}-nightly", num),
|
||||
_ => format!("{}-dev", num),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user