Skip to content

Commit 6516e59

Browse files
authored
Rollup merge of #119182 - GuillaumeGomez:update-sysinfo, r=onur-ozkan
Update sysinfo version to 0.30.0 Following last `sysinfo` update. Nothing much needs to be changed here apparently. r? `@onur-ozkan`
2 parents 81e5ca4 + c3ede70 commit 6516e59

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/bootstrap/Cargo.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ dependencies = [
428428

429429
[[package]]
430430
name = "once_cell"
431-
version = "1.12.0"
431+
version = "1.19.0"
432432
source = "registry+https://github.com/rust-lang/crates.io-index"
433-
checksum = "7709cef83f0c1f58f666e746a08b21e0085f7440fa6a29cc194d68aac97a4225"
433+
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
434434

435435
[[package]]
436436
name = "opener"
@@ -620,17 +620,17 @@ dependencies = [
620620

621621
[[package]]
622622
name = "sysinfo"
623-
version = "0.26.7"
623+
version = "0.30.0"
624624
source = "registry+https://github.com/rust-lang/crates.io-index"
625-
checksum = "c375d5fd899e32847b8566e10598d6e9f1d9b55ec6de3cdf9e7da4bdc51371bc"
625+
checksum = "c68492e7268037de59ae153d7efb79546cf94a18a9548235420d3d8d2436b4b1"
626626
dependencies = [
627627
"cfg-if",
628628
"core-foundation-sys",
629629
"libc",
630630
"ntapi",
631631
"once_cell",
632632
"rayon",
633-
"winapi",
633+
"windows",
634634
]
635635

636636
[[package]]

src/bootstrap/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ walkdir = "2"
5959
xz2 = "0.1"
6060

6161
# Dependencies needed by the build-metrics feature
62-
sysinfo = { version = "0.26.0", optional = true }
62+
sysinfo = { version = "0.30.0", optional = true }
6363

6464
# Solaris doesn't support flock() and thus fd-lock is not option now
6565
[target.'cfg(not(target_os = "solaris"))'.dependencies]

src/bootstrap/src/utils/metrics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::cell::RefCell;
1515
use std::fs::File;
1616
use std::io::BufWriter;
1717
use std::time::{Duration, Instant, SystemTime};
18-
use sysinfo::{CpuExt, System, SystemExt};
18+
use sysinfo::System;
1919

2020
// Update this number whenever a breaking change is made to the build metrics.
2121
//

0 commit comments

Comments
 (0)