Skip to content

Commit f3b8812

Browse files
committed
Update rayon and rustc-rayon
1 parent 89b9f7b commit f3b8812

File tree

10 files changed

+53
-88
lines changed

10 files changed

+53
-88
lines changed

Cargo.lock

+31-63
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ dependencies = [
285285
"cargo-util",
286286
"clap",
287287
"crates-io",
288-
"crossbeam-utils 0.8.3",
288+
"crossbeam-utils",
289289
"curl",
290290
"curl-sys",
291291
"env_logger 0.9.0",
@@ -787,69 +787,44 @@ dependencies = [
787787

788788
[[package]]
789789
name = "crossbeam-channel"
790-
version = "0.5.0"
790+
version = "0.5.2"
791791
source = "registry+https://github.com/rust-lang/crates.io-index"
792-
checksum = "dca26ee1f8d361640700bde38b2c37d8c22b3ce2d360e1fc1c74ea4b0aa7d775"
792+
checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa"
793793
dependencies = [
794794
"cfg-if 1.0.0",
795-
"crossbeam-utils 0.8.3",
795+
"crossbeam-utils",
796796
]
797797

798798
[[package]]
799799
name = "crossbeam-deque"
800-
version = "0.7.4"
800+
version = "0.8.1"
801801
source = "registry+https://github.com/rust-lang/crates.io-index"
802-
checksum = "c20ff29ded3204c5106278a81a38f4b482636ed4fa1e6cfbeef193291beb29ed"
802+
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
803803
dependencies = [
804+
"cfg-if 1.0.0",
804805
"crossbeam-epoch",
805-
"crossbeam-utils 0.7.2",
806-
"maybe-uninit",
806+
"crossbeam-utils",
807807
]
808808

809809
[[package]]
810810
name = "crossbeam-epoch"
811-
version = "0.8.2"
811+
version = "0.9.6"
812812
source = "registry+https://github.com/rust-lang/crates.io-index"
813-
checksum = "058ed274caafc1f60c4997b5fc07bf7dc7cca454af7c6e81edffe5f33f70dace"
813+
checksum = "97242a70df9b89a65d0b6df3c4bf5b9ce03c5b7309019777fbde37e7537f8762"
814814
dependencies = [
815-
"autocfg",
816-
"cfg-if 0.1.10",
817-
"crossbeam-utils 0.7.2",
815+
"cfg-if 1.0.0",
816+
"crossbeam-utils",
818817
"lazy_static",
819-
"maybe-uninit",
820818
"memoffset",
821819
"scopeguard",
822820
]
823821

824-
[[package]]
825-
name = "crossbeam-queue"
826-
version = "0.2.3"
827-
source = "registry+https://github.com/rust-lang/crates.io-index"
828-
checksum = "774ba60a54c213d409d5353bda12d49cd68d14e45036a285234c8d6f91f92570"
829-
dependencies = [
830-
"cfg-if 0.1.10",
831-
"crossbeam-utils 0.7.2",
832-
"maybe-uninit",
833-
]
834-
835822
[[package]]
836823
name = "crossbeam-utils"
837-
version = "0.7.2"
824+
version = "0.8.6"
838825
source = "registry+https://github.com/rust-lang/crates.io-index"
839-
checksum = "c3c7c73a2d1e9fc0886a08b93e98eb643461230d5f1925e4036204d5f2e261a8"
826+
checksum = "cfcae03edb34f947e64acdb1c33ec169824e20657e9ecb61cef6c8c74dcb8120"
840827
dependencies = [
841-
"autocfg",
842-
"cfg-if 0.1.10",
843-
"lazy_static",
844-
]
845-
846-
[[package]]
847-
name = "crossbeam-utils"
848-
version = "0.8.3"
849-
source = "registry+https://github.com/rust-lang/crates.io-index"
850-
checksum = "e7e9d99fa91428effe99c5c6d4634cdeba32b8cf784fc428a2a687f61a952c49"
851-
dependencies = [
852-
"autocfg",
853828
"cfg-if 1.0.0",
854829
"lazy_static",
855830
]
@@ -1665,7 +1640,7 @@ version = "0.4.17"
16651640
source = "registry+https://github.com/rust-lang/crates.io-index"
16661641
checksum = "b287fb45c60bb826a0dc68ff08742b9d88a2fea13d6e0c286b3172065aaf878c"
16671642
dependencies = [
1668-
"crossbeam-utils 0.8.3",
1643+
"crossbeam-utils",
16691644
"globset",
16701645
"lazy_static",
16711646
"log",
@@ -2135,12 +2110,6 @@ version = "0.1.8"
21352110
source = "registry+https://github.com/rust-lang/crates.io-index"
21362111
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
21372112

2138-
[[package]]
2139-
name = "maybe-uninit"
2140-
version = "2.0.0"
2141-
source = "registry+https://github.com/rust-lang/crates.io-index"
2142-
checksum = "60302e4db3a61da70c0cb7991976248362f30319e88850c487b9b95bbf059e00"
2143-
21442113
[[package]]
21452114
name = "md-5"
21462115
version = "0.9.1"
@@ -2229,9 +2198,9 @@ dependencies = [
22292198

22302199
[[package]]
22312200
name = "memoffset"
2232-
version = "0.5.5"
2201+
version = "0.6.5"
22332202
source = "registry+https://github.com/rust-lang/crates.io-index"
2234-
checksum = "c198b026e1bbf08a937e94c6c60f9ec4a2267f5b0d2eec9c1b21b061ce2be55f"
2203+
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
22352204
dependencies = [
22362205
"autocfg",
22372206
]
@@ -3005,9 +2974,9 @@ dependencies = [
30052974

30062975
[[package]]
30072976
name = "rayon"
3008-
version = "1.3.1"
2977+
version = "1.5.1"
30092978
source = "registry+https://github.com/rust-lang/crates.io-index"
3010-
checksum = "62f02856753d04e03e26929f820d0a0a337ebe71f849801eea335d464b349080"
2979+
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
30112980
dependencies = [
30122981
"autocfg",
30132982
"crossbeam-deque",
@@ -3017,13 +2986,13 @@ dependencies = [
30172986

30182987
[[package]]
30192988
name = "rayon-core"
3020-
version = "1.7.1"
2989+
version = "1.9.1"
30212990
source = "registry+https://github.com/rust-lang/crates.io-index"
3022-
checksum = "e92e15d89083484e11353891f1af602cc661426deb9564c298b270c726973280"
2991+
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
30232992
dependencies = [
2993+
"crossbeam-channel",
30242994
"crossbeam-deque",
3025-
"crossbeam-queue",
3026-
"crossbeam-utils 0.7.2",
2995+
"crossbeam-utils",
30272996
"lazy_static",
30282997
"num_cpus",
30292998
]
@@ -3276,7 +3245,7 @@ dependencies = [
32763245
"arrayvec",
32773246
"bitflags",
32783247
"cfg-if 0.1.10",
3279-
"crossbeam-utils 0.8.3",
3248+
"crossbeam-utils",
32803249
"ena",
32813250
"indexmap",
32823251
"jobserver",
@@ -3503,9 +3472,9 @@ dependencies = [
35033472

35043473
[[package]]
35053474
name = "rustc-rayon"
3506-
version = "0.3.1"
3475+
version = "0.3.2"
35073476
source = "registry+https://github.com/rust-lang/crates.io-index"
3508-
checksum = "ed7d6a39f8bfd4421ce720918234d1e672b83824c91345b47c93746839cf1629"
3477+
checksum = "9974ab223660e61c1b4e7b43b827379df286736ca988308ce7e16f59f2d89246"
35093478
dependencies = [
35103479
"crossbeam-deque",
35113480
"either",
@@ -3514,13 +3483,12 @@ dependencies = [
35143483

35153484
[[package]]
35163485
name = "rustc-rayon-core"
3517-
version = "0.3.1"
3486+
version = "0.3.2"
35183487
source = "registry+https://github.com/rust-lang/crates.io-index"
3519-
checksum = "e94187d9ea3e8c38fafdbc38acb94eafa7ce155867f6ccb13830466a0d0db8c6"
3488+
checksum = "564bfd27be8db888d0fa76aa4335e7851aaed0c2c11ad1e93aeb9349f6b88500"
35203489
dependencies = [
35213490
"crossbeam-deque",
3522-
"crossbeam-queue",
3523-
"crossbeam-utils 0.7.2",
3491+
"crossbeam-utils",
35243492
"lazy_static",
35253493
"num_cpus",
35263494
]
@@ -3558,7 +3526,7 @@ version = "1.0.0"
35583526
dependencies = [
35593527
"bstr",
35603528
"byteorder",
3561-
"crossbeam-utils 0.8.3",
3529+
"crossbeam-utils",
35623530
"libc",
35633531
"libz-sys",
35643532
"proc-macro2",
@@ -5324,7 +5292,7 @@ name = "tidy"
53245292
version = "0.1.0"
53255293
dependencies = [
53265294
"cargo_metadata 0.12.0",
5327-
"crossbeam-utils 0.8.3",
5295+
"crossbeam-utils",
53285296
"lazy_static",
53295297
"regex",
53305298
"walkdir",

compiler/rustc_data_structures/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ rustc_macros = { path = "../rustc_macros" }
1717
rustc_graphviz = { path = "../rustc_graphviz" }
1818
cfg-if = "0.1.2"
1919
stable_deref_trait = "1.0.0"
20-
rayon = { version = "0.3.1", package = "rustc-rayon" }
21-
rayon-core = { version = "0.3.1", package = "rustc-rayon-core" }
20+
rayon = { version = "0.3.2", package = "rustc-rayon" }
21+
rayon-core = { version = "0.3.2", package = "rustc-rayon-core" }
2222
rustc-hash = "1.1.0"
2323
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
2424
rustc_index = { path = "../rustc_index", package = "rustc_index" }

compiler/rustc_interface/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ doctest = false
1010
libc = "0.2"
1111
libloading = "0.7.1"
1212
tracing = "0.1"
13-
rustc-rayon-core = "0.3.1"
14-
rayon = { version = "0.3.1", package = "rustc-rayon" }
13+
rustc-rayon-core = "0.3.2"
14+
rayon = { version = "0.3.2", package = "rustc-rayon" }
1515
smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }
1616
rustc_ast = { path = "../rustc_ast" }
1717
rustc_attr = { path = "../rustc_attr" }

compiler/rustc_middle/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ bitflags = "1.2.1"
1212
either = "1.5.0"
1313
gsgdt = "0.1.2"
1414
tracing = "0.1"
15-
rustc-rayon = "0.3.1"
16-
rustc-rayon-core = "0.3.1"
15+
rustc-rayon = "0.3.2"
16+
rustc-rayon-core = "0.3.2"
1717
polonius-engine = "0.13.0"
1818
rustc_apfloat = { path = "../rustc_apfloat" }
1919
rustc_attr = { path = "../rustc_attr" }

compiler/rustc_query_impl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ doctest = false
88

99
[dependencies]
1010
measureme = "10.0.0"
11-
rustc-rayon-core = "0.3.1"
11+
rustc-rayon-core = "0.3.2"
1212
rustc_ast = { path = "../rustc_ast" }
1313
rustc_data_structures = { path = "../rustc_data_structures" }
1414
rustc_errors = { path = "../rustc_errors" }

compiler/rustc_query_system/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ doctest = false
99
[dependencies]
1010
rustc_arena = { path = "../rustc_arena" }
1111
tracing = "0.1"
12-
rustc-rayon-core = "0.3.1"
12+
rustc-rayon-core = "0.3.2"
1313
rustc_ast = { path = "../rustc_ast" }
1414
rustc_data_structures = { path = "../rustc_data_structures" }
1515
rustc_errors = { path = "../rustc_errors" }

src/librustdoc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ path = "lib.rs"
1010
arrayvec = { version = "0.7", default-features = false }
1111
pulldown-cmark = { version = "0.9", default-features = false }
1212
minifier = "0.0.41"
13-
rayon = "1.3.1"
13+
rayon = "1.5.1"
1414
serde = { version = "1.0", features = ["derive"] }
1515
serde_json = "1.0"
1616
smallvec = "1.6.1"

src/tools/build-manifest/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ anyhow = "1.0.32"
1111
flate2 = "1.0.16"
1212
tar = "0.4.29"
1313
sha2 = "0.9.1"
14-
rayon = "1.3.1"
14+
rayon = "1.5.1"
1515
hex = "0.4.2"
1616
num_cpus = "1.13.0"

src/tools/clippy/lintcheck/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ publish = false
1313
clap = "2.33"
1414
flate2 = "1.0"
1515
fs_extra = "1.2"
16-
rayon = "1.5"
16+
rayon = "1.5.1"
1717
serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
1919
tar = "0.4"

src/tools/tidy/src/deps.rs

+11-14
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,17 @@ const LICENSES: &[&str] = &[
2727
/// tooling. It is _crucial_ that no exception crates be dependencies
2828
/// of the Rust runtime (std/test).
2929
const EXCEPTIONS: &[(&str, &str)] = &[
30-
("mdbook", "MPL-2.0"), // mdbook
31-
("openssl", "Apache-2.0"), // cargo, mdbook
32-
("colored", "MPL-2.0"), // rustfmt
33-
("ordslice", "Apache-2.0"), // rls
34-
("ryu", "Apache-2.0 OR BSL-1.0"), // rls/cargo/... (because of serde)
35-
("bytesize", "Apache-2.0"), // cargo
36-
("im-rc", "MPL-2.0+"), // cargo
37-
("sized-chunks", "MPL-2.0+"), // cargo via im-rc
38-
("bitmaps", "MPL-2.0+"), // cargo via im-rc
39-
("crossbeam-queue", "MIT/Apache-2.0 AND BSD-2-Clause"), // rls via rayon
40-
("instant", "BSD-3-Clause"), // rustc_driver/tracing-subscriber/parking_lot
41-
("snap", "BSD-3-Clause"), // rustc
30+
("mdbook", "MPL-2.0"), // mdbook
31+
("openssl", "Apache-2.0"), // cargo, mdbook
32+
("colored", "MPL-2.0"), // rustfmt
33+
("ordslice", "Apache-2.0"), // rls
34+
("ryu", "Apache-2.0 OR BSL-1.0"), // rls/cargo/... (because of serde)
35+
("bytesize", "Apache-2.0"), // cargo
36+
("im-rc", "MPL-2.0+"), // cargo
37+
("sized-chunks", "MPL-2.0+"), // cargo via im-rc
38+
("bitmaps", "MPL-2.0+"), // cargo via im-rc
39+
("instant", "BSD-3-Clause"), // rustc_driver/tracing-subscriber/parking_lot
40+
("snap", "BSD-3-Clause"), // rustc
4241
// FIXME: this dependency violates the documentation comment above:
4342
("fortanix-sgx-abi", "MPL-2.0"), // libstd but only for `sgx` target
4443
];
@@ -97,7 +96,6 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
9796
"crc32fast",
9897
"crossbeam-deque",
9998
"crossbeam-epoch",
100-
"crossbeam-queue",
10199
"crossbeam-utils",
102100
"cstr",
103101
"datafrog",
@@ -135,7 +133,6 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
135133
"lock_api",
136134
"log",
137135
"matchers",
138-
"maybe-uninit",
139136
"md-5",
140137
"measureme",
141138
"memchr",

0 commit comments

Comments
 (0)