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);
}
let mut search_term: String;
if name.starts_with("SIG") {
search_term = name.to_string();
let mut search_term: String = if name.starts_with("SIG") {
name.to_string()
} else {
search_term = format!("SIG{}", name);
}
format!("SIG{}", name)
};
search_term = search_term.to_uppercase();

View File

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