Skip to content

Commit 6aa88c8

Browse files
authored
Merge pull request #372 from cuviper/drop-rustc-rayon
Drop the internal `rustc-rayon` impls
2 parents 629f940 + c1497dd commit 6aa88c8

File tree

5 files changed

+2
-169
lines changed

5 files changed

+2
-169
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
features: quickcheck
2626
- rust: stable
2727
features: rayon
28-
- rust: stable
29-
features: rustc-rayon
3028
- rust: stable
3129
features: serde
3230
- rust: stable

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ serde = { version = "1.0", optional = true, default-features = false }
2222
borsh = { version = "1.2", optional = true, default-features = false }
2323
rayon = { version = "1.9", optional = true }
2424

25-
# Internal feature, only used when building as part of rustc,
26-
# not part of the stable interface of this crate.
27-
rustc-rayon = { package = "rustc-rayon", version = "0.5", optional = true }
28-
2925
[dependencies.hashbrown]
3026
version = "0.15.0"
3127
default-features = false

src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ pub mod set;
127127
#[cfg(feature = "rayon")]
128128
mod rayon;
129129

130-
#[cfg(feature = "rustc-rayon")]
131-
mod rustc;
132-
133130
pub use crate::map::IndexMap;
134131
pub use crate::set::IndexSet;
135132
pub use equivalent::Equivalent;

src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ macro_rules! double_ended_iterator_methods {
125125

126126
// generate `ParallelIterator` methods by just forwarding to the underlying
127127
// self.entries and mapping its elements.
128-
#[cfg(any(feature = "rayon", feature = "rustc-rayon"))]
128+
#[cfg(feature = "rayon")]
129129
macro_rules! parallel_iterator_methods {
130130
// $map_elt is the mapping function from the underlying iterator's element
131131
($map_elt:expr) => {
@@ -150,7 +150,7 @@ macro_rules! parallel_iterator_methods {
150150

151151
// generate `IndexedParallelIterator` methods by just forwarding to the underlying
152152
// self.entries and mapping its elements.
153-
#[cfg(any(feature = "rayon", feature = "rustc-rayon"))]
153+
#[cfg(feature = "rayon")]
154154
macro_rules! indexed_parallel_iterator_methods {
155155
// $map_elt is the mapping function from the underlying iterator's element
156156
($map_elt:expr) => {

src/rustc.rs

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)