From f5949344564ce62e5d572ffb1c8291c9d86323fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 10 Dec 2024 21:13:15 +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 dbb4be30..2ca7cc34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -565,9 +565,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 358e2234..7862eef6 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -7,5 +7,5 @@ edition = "2021" anyhow = "1.0" clap = { version = "4", features = ["derive"] } llvm-tools = "0.1" -sysinfo = "0.32" +sysinfo = "0.33" xshell = "0.2" \ No newline at end of file diff --git a/xtask/src/ci/qemu.rs b/xtask/src/ci/qemu.rs index 3b9e757e..e0fcd8a7 100644 --- a/xtask/src/ci/qemu.rs +++ b/xtask/src/ci/qemu.rs @@ -240,7 +240,7 @@ impl Qemu { 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");