diff options
| author | Josh Stone <jistone@redhat.com> | 2021-03-10 17:53:35 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2021-03-10 17:53:35 -0800 |
| commit | f7e75a2124ccd8e0a655220f70fd1eba765cf5d2 (patch) | |
| tree | 51b50a7b51cba1ab58bcadd2558bd86088fb730b /compiler/rustc_data_structures | |
| parent | f98721f886ab52d32d622ad0a46216ad03f3e525 (diff) | |
| download | rust-f7e75a2124ccd8e0a655220f70fd1eba765cf5d2.tar.gz rust-f7e75a2124ccd8e0a655220f70fd1eba765cf5d2.zip | |
Update to rustc-rayon 0.3.1
This pulls in rust-lang/rustc-rayon#8 to fix #81425. (h/t @ammaraskar) That revealed weak constraints on `rustc_arena::DropArena`, because its `DropType` was holding type-erased raw pointers to generic `T`. We can implement `Send` for `DropType` (under `cfg(parallel_compiler)`) by requiring all `T: Send` before they're type-erased.
Diffstat (limited to 'compiler/rustc_data_structures')
| -rw-r--r-- | compiler/rustc_data_structures/Cargo.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/Cargo.toml b/compiler/rustc_data_structures/Cargo.toml index 818c4364256..2e5a86b14c9 100644 --- a/compiler/rustc_data_structures/Cargo.toml +++ b/compiler/rustc_data_structures/Cargo.toml @@ -19,8 +19,8 @@ rustc_graphviz = { path = "../rustc_graphviz" } cfg-if = "0.1.2" crossbeam-utils = { version = "0.7", features = ["nightly"] } stable_deref_trait = "1.0.0" -rayon = { version = "0.3.0", package = "rustc-rayon" } -rayon-core = { version = "0.3.0", package = "rustc-rayon-core" } +rayon = { version = "0.3.1", package = "rustc-rayon" } +rayon-core = { version = "0.3.1", package = "rustc-rayon-core" } rustc-hash = "1.1.0" smallvec = { version = "1.6.1", features = ["union", "may_dangle"] } rustc_index = { path = "../rustc_index", package = "rustc_index" } |
