Skip to content

Commit 14f477e

Browse files
committed
Auto merge of #97472 - cuviper:rebase-rustc-rayon, r=Mark-Simulacrum
Update to rebased rustc-rayon 0.4 In rayon-rs/rayon#938, miri uncovered a race in `rustc-rayon-core` that had already been fixed in the regular `rayon-core`. I have now rebased that fork onto the latest rayon branch, and published as 0.4. I also updated `indexmap` to bump the dependency. `Cargo.lock` changes: Updating indexmap v1.8.0 -> v1.8.2 Updating rayon v1.5.1 -> v1.5.3 Updating rayon-core v1.9.1 -> v1.9.3 Updating rustc-rayon v0.3.2 -> v0.4.0 Updating rustc-rayon-core v0.3.2 -> v0.4.1
2 parents 1fede17 + ab57e36 commit 14f477e

File tree

7 files changed

+22
-21
lines changed

7 files changed

+22
-21
lines changed

Cargo.lock

+12-12
Original file line numberDiff line numberDiff line change
@@ -1817,9 +1817,9 @@ dependencies = [
18171817

18181818
[[package]]
18191819
name = "indexmap"
1820-
version = "1.8.0"
1820+
version = "1.8.2"
18211821
source = "registry+https://github.com/rust-lang/crates.io-index"
1822-
checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223"
1822+
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
18231823
dependencies = [
18241824
"autocfg",
18251825
"hashbrown 0.11.2",
@@ -3126,9 +3126,9 @@ dependencies = [
31263126

31273127
[[package]]
31283128
name = "rayon"
3129-
version = "1.5.1"
3129+
version = "1.5.3"
31303130
source = "registry+https://github.com/rust-lang/crates.io-index"
3131-
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
3131+
checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d"
31323132
dependencies = [
31333133
"autocfg",
31343134
"crossbeam-deque",
@@ -3138,14 +3138,13 @@ dependencies = [
31383138

31393139
[[package]]
31403140
name = "rayon-core"
3141-
version = "1.9.1"
3141+
version = "1.9.3"
31423142
source = "registry+https://github.com/rust-lang/crates.io-index"
3143-
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
3143+
checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f"
31443144
dependencies = [
31453145
"crossbeam-channel",
31463146
"crossbeam-deque",
31473147
"crossbeam-utils",
3148-
"lazy_static",
31493148
"num_cpus",
31503149
]
31513150

@@ -3378,24 +3377,25 @@ dependencies = [
33783377

33793378
[[package]]
33803379
name = "rustc-rayon"
3381-
version = "0.3.2"
3380+
version = "0.4.0"
33823381
source = "registry+https://github.com/rust-lang/crates.io-index"
3383-
checksum = "9974ab223660e61c1b4e7b43b827379df286736ca988308ce7e16f59f2d89246"
3382+
checksum = "1a79f0b0b2609e2eacf9758013f50e7176cb4b29fd6436a747b14a5362c8727a"
33843383
dependencies = [
3384+
"autocfg",
33853385
"crossbeam-deque",
33863386
"either",
33873387
"rustc-rayon-core",
33883388
]
33893389

33903390
[[package]]
33913391
name = "rustc-rayon-core"
3392-
version = "0.3.2"
3392+
version = "0.4.1"
33933393
source = "registry+https://github.com/rust-lang/crates.io-index"
3394-
checksum = "564bfd27be8db888d0fa76aa4335e7851aaed0c2c11ad1e93aeb9349f6b88500"
3394+
checksum = "02269144a0db9bb55cf5d4a41a5a0e95b334b0b78b08269018ca9b0250718c30"
33953395
dependencies = [
3396+
"crossbeam-channel",
33963397
"crossbeam-deque",
33973398
"crossbeam-utils",
3398-
"lazy_static",
33993399
"num_cpus",
34003400
]
34013401

compiler/rustc_data_structures/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ doctest = false
99
[dependencies]
1010
arrayvec = { version = "0.7", default-features = false }
1111
ena = "0.14"
12-
indexmap = { version = "1.8.0" }
12+
indexmap = { version = "1.8.2" }
1313
tracing = "0.1"
1414
jobserver_crate = { version = "0.1.13", package = "jobserver" }
1515
rustc_serialize = { path = "../rustc_serialize" }
1616
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.2", package = "rustc-rayon", optional = true }
21-
rayon-core = { version = "0.3.2", package = "rustc-rayon-core", optional = true }
20+
rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
21+
rayon-core = { version = "0.4.0", package = "rustc-rayon-core", optional = true }
2222
rustc-hash = "1.1.0"
2323
smallvec = { version = "1.6.1", features = ["const_generics", "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 = { version = "0.3.2", optional = true }
14-
rayon = { version = "0.3.2", package = "rustc-rayon", optional = true }
13+
rustc-rayon-core = { version = "0.4.0", optional = true }
14+
rayon = { version = "0.4.0", package = "rustc-rayon", optional = true }
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 = { version = "0.3.2", optional = true }
16-
rustc-rayon-core = { version = "0.3.2", optional = true }
15+
rustc-rayon = { version = "0.4.0", optional = true }
16+
rustc-rayon-core = { version = "0.4.0", optional = true }
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 = { version = "0.3.2", optional = true }
11+
rustc-rayon-core = { version = "0.4.0", optional = true }
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 = { version = "0.3.2", optional = true }
12+
rustc-rayon-core = { version = "0.4.0", optional = true }
1313
rustc_ast = { path = "../rustc_ast" }
1414
rustc_data_structures = { path = "../rustc_data_structures" }
1515
rustc_errors = { path = "../rustc_errors" }

src/tools/tidy/src/deps.rs

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ const PERMITTED_DEPENDENCIES: &[&str] = &[
100100
"compiler_builtins",
101101
"cpufeatures",
102102
"crc32fast",
103+
"crossbeam-channel",
103104
"crossbeam-deque",
104105
"crossbeam-epoch",
105106
"crossbeam-utils",

0 commit comments

Comments
 (0)