From b24dfc369e58d4c8cf7a4ea5c78ff362c42ddd88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Wed, 11 Dec 2024 09:57:17 +0100 Subject: [PATCH] build(deps): Bump sysinfo from 0.32.1 to 0.33.0 --- Cargo.lock | 4 ++-- xtask/Cargo.toml | 2 +- xtask/src/ci/qemu.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 21a7e0f08e..fd2e099824 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1565,9 +1565,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.32.1" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c33cd241af0f2e9e3b5c32163b873b29956890b5342e6745b917ce9d490f4af" +checksum = "948512566b1895f93b1592c7574baeb2de842f224f2aab158799ecadb8ebbb46" dependencies = [ "core-foundation-sys", "libc", diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 7be13717f0..49e315fd53 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" anyhow = "1.0" clap = { version = "4", features = ["derive"] } goblin = { version = "0.9", default-features = false, features = ["archive", "elf32", "elf64", "std"] } -sysinfo = "0.32" +sysinfo = "0.33" ureq = "2" wait-timeout = "0.2" xshell = "0.2" diff --git a/xtask/src/ci/qemu.rs b/xtask/src/ci/qemu.rs index a112f4df1e..b51ca787f8 100644 --- a/xtask/src/ci/qemu.rs +++ b/xtask/src/ci/qemu.rs @@ -330,7 +330,7 @@ fn spawn_virtiofsd() -> Result { fn get_frequency() -> u64 { let mut sys = System::new(); - sys.refresh_cpu_specifics(CpuRefreshKind::new().with_frequency()); + sys.refresh_cpu_specifics(CpuRefreshKind::nothing().with_frequency()); let frequency = sys.cpus().first().unwrap().frequency(); if !sys.cpus().iter().all(|cpu| cpu.frequency() == frequency) { eprintln!("CPU frequencies are not all equal");