diff --git a/Cargo.lock b/Cargo.lock index 8880bbf8e5..1c6ef058f7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1122,9 +1122,9 @@ dependencies = [ [[package]] name = "sysinfo" -version = "0.29.11" +version = "0.30.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd727fc423c2060f6c92d9534cef765c65a6ed3f428a03d7def74a8c4348e666" +checksum = "ba2dbd2894d23b2d78dae768d85e323b557ac3ac71a5d917a31536d8f77ebada" dependencies = [ "cfg-if", "core-foundation-sys", @@ -1132,7 +1132,7 @@ dependencies = [ "ntapi", "once_cell", "rayon", - "winapi", + "windows", ] [[package]] @@ -1353,6 +1353,25 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "windows" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" +dependencies = [ + "windows-core", + "windows-targets 0.52.0", +] + +[[package]] +name = "windows-core" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-sys" version = "0.48.0" diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 26dfed366a..b6ae1bc4a9 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -8,7 +8,7 @@ anyhow = "1.0" clap = { version = "4", features = ["derive"] } goblin = { version = "0.7", default-features = false, features = ["archive", "elf32", "elf64", "std"] } llvm-tools = "0.1" -sysinfo = "0.29" +sysinfo = "0.30" ureq = "2" wait-timeout = "0.2" xshell = "0.2" diff --git a/xtask/src/ci/qemu.rs b/xtask/src/ci/qemu.rs index e51497c4fe..615263bcfe 100644 --- a/xtask/src/ci/qemu.rs +++ b/xtask/src/ci/qemu.rs @@ -5,7 +5,7 @@ use std::{env, thread}; use anyhow::{bail, ensure, Context, Result}; use clap::{Args, ValueEnum}; -use sysinfo::{CpuExt, CpuRefreshKind, System, SystemExt}; +use sysinfo::{CpuRefreshKind, System}; use wait_timeout::ChildExt; use xshell::cmd;