Merge pull request #5059 from amshinde/bump-rust-version

versions: Upgrade rust supported version to 1.59.0 for 2.5 branch
This commit is contained in:
Archana Shinde 2022-09-01 05:58:15 +05:30 committed by GitHub
commit d04c7e582f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View File

@ -98,13 +98,11 @@ pub fn signame_to_signum(name: &str) -> Result<u8> {
return Ok(n); return Ok(n);
} }
let mut search_term: String; let mut search_term: String = if name.starts_with("SIG") {
name.to_string()
if name.starts_with("SIG") {
search_term = name.to_string();
} else { } else {
search_term = format!("SIG{}", name); format!("SIG{}", name)
} };
search_term = search_term.to_uppercase(); search_term = search_term.to_uppercase();

View File

@ -280,12 +280,12 @@ languages:
rust: rust:
description: "Rust language" description: "Rust language"
notes: "'version' is the default minimum version used by this project." notes: "'version' is the default minimum version used by this project."
version: "1.58.1" version: "1.59.0"
meta: meta:
description: | description: |
'newest-version' is the latest version known to work when 'newest-version' is the latest version known to work when
building Kata building Kata
newest-version: "1.58.1" newest-version: "1.59.0"
specs: specs:
description: "Details of important specifications" description: "Details of important specifications"