Merge pull request #10806 from stevenhorsman/rust-1.80.0-bump

Rust 1.80.0 bump
This commit is contained in:
Zvonko Kaiser
2025-02-06 14:49:23 -05:00
committed by GitHub
5 changed files with 7 additions and 3 deletions

View File

@@ -123,6 +123,7 @@ mod tests {
}
#[test]
#[ignore = "Issue #10821 - IO Safety violation: owned file descriptor already closed"]
fn test_i8042_reset_err() {
let reset_evt = EventFdTrigger::new(unsafe { EventFd::from_raw_fd(i32::MAX) });
let mut i8042 = I8042Device::new(reset_evt);

View File

@@ -431,6 +431,7 @@ mod tests {
}
#[test]
#[ignore = "Issue #10821 - IO Safety violation: owned file descriptor already closed"]
fn test_set_options() {
// This line will fail to provide an initialized FD if the test is not run as root.
let tap = Tap::new().unwrap();

View File

@@ -111,6 +111,7 @@ pub fn get_distro_details(os_release: &str, os_release_clr: &str) -> Result<(Str
target_arch = "aarch64",
all(target_arch = "powerpc64", target_endian = "little"),
))]
#[allow(clippy::const_is_empty)]
pub fn get_generic_cpu_details(cpu_info_file: &str) -> Result<(String, String)> {
let cpu_info = kata_sys_util::cpu::get_single_cpu_info(cpu_info_file, "\n\n")?;
let lines = cpu_info.lines();

View File

@@ -230,8 +230,9 @@ get_agent_image_name() {
"$(get_last_modification "${repo_root_dir}/ci/install_libseccomp.sh")" \
"$(get_last_modification "${repo_root_dir}/tools/packaging/kata-deploy/local-build/kata-deploy-copy-libseccomp-installer.sh")")
agent_dir="${repo_root_dir}/tools/packaging/static-build/agent"
rust_toolchain="$(get_from_kata_deps ".languages.rust.meta.newest-version")"
echo "${BUILDER_REGISTRY}:agent-${libseccomp_hash}-$(get_last_modification ${agent_dir})-$(uname -m)"
echo "${BUILDER_REGISTRY}:agent-${libseccomp_hash}-$(get_last_modification ${agent_dir})-${rust_toolchain}-$(uname -m)"
}
get_coco_guest_components_image_name() {

View File

@@ -379,12 +379,12 @@ languages:
rust:
description: "Rust language"
notes: "'version' is the default minimum version used by this project."
version: "1.75.0"
version: "1.80.0"
meta:
description: |
'newest-version' is the latest version known to work when
building Kata
newest-version: "1.75.0"
newest-version: "1.80.0"
golangci-lint:
description: "golangci-lint"