Skip to content

Commit 6612ad7

Browse files
committed
bootstrap: don't use rayon for sysinfo
It's looks overkill to use rayon to collect cpu usage
1 parent 0ed85d0 commit 6612ad7

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

src/bootstrap/Cargo.lock

-27
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,6 @@ dependencies = [
236236
"crypto-common",
237237
]
238238

239-
[[package]]
240-
name = "either"
241-
version = "1.9.0"
242-
source = "registry+https://github.com/rust-lang/crates.io-index"
243-
checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
244-
245239
[[package]]
246240
name = "errno"
247241
version = "0.3.8"
@@ -448,26 +442,6 @@ dependencies = [
448442
"proc-macro2",
449443
]
450444

451-
[[package]]
452-
name = "rayon"
453-
version = "1.8.0"
454-
source = "registry+https://github.com/rust-lang/crates.io-index"
455-
checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1"
456-
dependencies = [
457-
"either",
458-
"rayon-core",
459-
]
460-
461-
[[package]]
462-
name = "rayon-core"
463-
version = "1.12.0"
464-
source = "registry+https://github.com/rust-lang/crates.io-index"
465-
checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed"
466-
dependencies = [
467-
"crossbeam-deque",
468-
"crossbeam-utils",
469-
]
470-
471445
[[package]]
472446
name = "redox_syscall"
473447
version = "0.4.1"
@@ -598,7 +572,6 @@ dependencies = [
598572
"libc",
599573
"ntapi",
600574
"once_cell",
601-
"rayon",
602575
"windows",
603576
]
604577

src/bootstrap/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ walkdir = "2.4"
6464
xz2 = "0.1"
6565

6666
# Dependencies needed by the build-metrics feature
67-
sysinfo = { version = "0.30", optional = true }
67+
sysinfo = { version = "0.30", default-features = false, optional = true }
6868

6969
[target.'cfg(windows)'.dependencies.junction]
7070
version = "1.0.0"

0 commit comments

Comments
 (0)