diff options
| author | klensy <klensy@users.noreply.github.com> | 2024-04-19 12:07:07 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2024-04-19 12:07:07 +0300 |
| commit | 6612ad796c8d035984694368e5c0924933bdae9e (patch) | |
| tree | 4acf08bc33b240cccbf2ae10c3a29c4beb011905 | |
| parent | 0ed85d0c8d225b4eac2085dc11d89b4e7455175a (diff) | |
bootstrap: don't use rayon for sysinfo
It's looks overkill to use rayon to collect cpu usage
| -rw-r--r-- | src/bootstrap/Cargo.lock | 27 | ||||
| -rw-r--r-- | src/bootstrap/Cargo.toml | 2 |
2 files changed, 1 insertions, 28 deletions
diff --git a/src/bootstrap/Cargo.lock b/src/bootstrap/Cargo.lock index e2c90cc8c84..9c2b7500a20 100644 --- a/src/bootstrap/Cargo.lock +++ b/src/bootstrap/Cargo.lock @@ -237,12 +237,6 @@ dependencies = [ ] [[package]] -name = "either" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" - -[[package]] name = "errno" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -449,26 +443,6 @@ dependencies = [ ] [[package]] -name = "rayon" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" -dependencies = [ - "either", - "rayon-core", -] - -[[package]] -name = "rayon-core" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" -dependencies = [ - "crossbeam-deque", - "crossbeam-utils", -] - -[[package]] name = "redox_syscall" version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -598,7 +572,6 @@ dependencies = [ "libc", "ntapi", "once_cell", - "rayon", "windows", ] diff --git a/src/bootstrap/Cargo.toml b/src/bootstrap/Cargo.toml index b232885c590..c7a513d0890 100644 --- a/src/bootstrap/Cargo.toml +++ b/src/bootstrap/Cargo.toml @@ -64,7 +64,7 @@ walkdir = "2.4" xz2 = "0.1" # Dependencies needed by the build-metrics feature -sysinfo = { version = "0.30", optional = true } +sysinfo = { version = "0.30", default-features = false, optional = true } [target.'cfg(windows)'.dependencies.junction] version = "1.0.0" |
