Skip to content

Commit 3cca7d5

Browse files
committed
update to rustc-rayon with only main-loop work-stealing
1 parent cb190ac commit 3cca7d5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Cargo.lock

+3-4
Original file line numberDiff line numberDiff line change
@@ -3297,8 +3297,7 @@ dependencies = [
32973297
[[package]]
32983298
name = "rustc-rayon"
32993299
version = "0.5.1"
3300-
source = "registry+https://github.com/rust-lang/crates.io-index"
3301-
checksum = "2cd9fb077db982d7ceb42a90471e5a69a990b58f71e06f0d8340bb2cf35eb751"
3300+
source = "git+https://github.com/lqd/rustc-rayon?branch=pr-12#b6ce2659d4cb4d4524c45fd6dfa52c4e29043162"
33023301
dependencies = [
33033302
"either",
33043303
"indexmap",
@@ -3308,13 +3307,13 @@ dependencies = [
33083307
[[package]]
33093308
name = "rustc-rayon-core"
33103309
version = "0.5.0"
3311-
source = "registry+https://github.com/rust-lang/crates.io-index"
3312-
checksum = "67668daaf00e359c126f6dcb40d652d89b458a008c8afa727a42a2d20fca0b7f"
3310+
source = "git+https://github.com/lqd/rustc-rayon?branch=pr-12#b6ce2659d4cb4d4524c45fd6dfa52c4e29043162"
33133311
dependencies = [
33143312
"crossbeam-channel",
33153313
"crossbeam-deque",
33163314
"crossbeam-utils",
33173315
"num_cpus",
3316+
"smallvec",
33183317
]
33193318

33203319
[[package]]

Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,7 @@ codegen-units = 1
9494
# FIXME: LTO cannot be enabled for binaries in a workspace
9595
# <https://github.com/rust-lang/cargo/issues/9330>
9696
# lto = true
97+
98+
[patch.crates-io]
99+
rustc-rayon = { git = "https://github.com/lqd/rustc-rayon", branch = "pr-12" }
100+
rustc-rayon-core = { git = "https://github.com/lqd/rustc-rayon", branch = "pr-12" }

0 commit comments

Comments
 (0)