This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +5
-9
lines changed Expand file tree Collapse file tree 6 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -3409,7 +3409,6 @@ dependencies = [
3409
3409
" rustc_parse" ,
3410
3410
" rustc_session" ,
3411
3411
" rustc_span" ,
3412
- " rustc_target" ,
3413
3412
" thin-vec" ,
3414
3413
]
3415
3414
@@ -4423,6 +4422,7 @@ version = "0.0.0"
4423
4422
dependencies = [
4424
4423
" parking_lot" ,
4425
4424
" rustc-rayon-core" ,
4425
+ " rustc_abi" ,
4426
4426
" rustc_ast" ,
4427
4427
" rustc_data_structures" ,
4428
4428
" rustc_errors" ,
@@ -4434,7 +4434,6 @@ dependencies = [
4434
4434
" rustc_serialize" ,
4435
4435
" rustc_session" ,
4436
4436
" rustc_span" ,
4437
- " rustc_target" ,
4438
4437
" smallvec" ,
4439
4438
" thin-vec" ,
4440
4439
" tracing" ,
Original file line number Diff line number Diff line change @@ -18,6 +18,5 @@ rustc_macros = { path = "../rustc_macros" }
18
18
rustc_parse = { path = " ../rustc_parse" }
19
19
rustc_session = { path = " ../rustc_session" }
20
20
rustc_span = { path = " ../rustc_span" }
21
- rustc_target = { path = " ../rustc_target" }
22
21
thin-vec = " 0.2.12"
23
22
# tidy-alphabetical-end
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ use crate::hir_id::{HirId, ItemLocalId};
10
10
/// Requirements for a `StableHashingContext` to be used in this crate.
11
11
/// This is a hack to allow using the `HashStable_Generic` derive macro
12
12
/// instead of implementing everything in `rustc_middle`.
13
- pub trait HashStableContext :
14
- rustc_ast:: HashStableContext + rustc_target:: HashStableContext
15
- {
13
+ pub trait HashStableContext : rustc_ast:: HashStableContext + rustc_abi:: HashStableContext {
16
14
fn hash_attr ( & mut self , _: & Attribute , hasher : & mut StableHasher ) ;
17
15
}
18
16
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ edition = "2021"
7
7
# tidy-alphabetical-start
8
8
parking_lot = " 0.12"
9
9
rustc-rayon-core = { version = " 0.5.0" }
10
+ rustc_abi = { path = " ../rustc_abi" }
10
11
rustc_ast = { path = " ../rustc_ast" }
11
12
rustc_data_structures = { path = " ../rustc_data_structures" }
12
13
rustc_errors = { path = " ../rustc_errors" }
@@ -18,7 +19,6 @@ rustc_macros = { path = "../rustc_macros" }
18
19
rustc_serialize = { path = " ../rustc_serialize" }
19
20
rustc_session = { path = " ../rustc_session" }
20
21
rustc_span = { path = " ../rustc_span" }
21
- rustc_target = { path = " ../rustc_target" }
22
22
smallvec = { version = " 1.8.1" , features = [" union" , " may_dangle" ] }
23
23
thin-vec = " 0.2.12"
24
24
tracing = " 0.1"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use smallvec::SmallVec;
8
8
9
9
use crate :: ich:: StableHashingContext ;
10
10
11
- impl < ' ctx > rustc_target :: HashStableContext for StableHashingContext < ' ctx > { }
11
+ impl < ' ctx > rustc_abi :: HashStableContext for StableHashingContext < ' ctx > { }
12
12
impl < ' ctx > rustc_ast:: HashStableContext for StableHashingContext < ' ctx > { }
13
13
14
14
impl < ' a > HashStable < StableHashingContext < ' a > > for [ hir:: Attribute ] {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ pub mod target_features;
30
30
#[ cfg( test) ]
31
31
mod tests;
32
32
33
- pub use rustc_abi:: HashStableContext ;
33
+ use rustc_abi:: HashStableContext ;
34
34
35
35
/// The name of rustc's own place to organize libraries.
36
36
///
You can’t perform that action at this time.
0 commit comments