diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-04-19 19:30:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 19:30:50 +0200 |
| commit | f1e536df595598629f1e82153e683ac2f7e7da2c (patch) | |
| tree | d3041fa93c9ae5c12b12df36e490ab12426fae4b | |
| parent | f8afb6314b3a092c727125a77c00a49459da045d (diff) | |
| parent | 6612ad796c8d035984694368e5c0924933bdae9e (diff) | |
| download | rust-f1e536df595598629f1e82153e683ac2f7e7da2c.tar.gz rust-f1e536df595598629f1e82153e683ac2f7e7da2c.zip | |
Rollup merge of #124155 - klensy:wrong-rayon-here, r=albertlarsan68
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" |
