Skip to content

Commit a373623

Browse files
authored
Rollup merge of #110681 - klensy:cut-dep, r=lcnr
drop few unused crates, gate libc under unix for rustc_codegen_ssa Small cleanup.
2 parents 2a2df56 + 3338ee3 commit a373623

File tree

13 files changed

+3
-23
lines changed

13 files changed

+3
-23
lines changed

Cargo.lock

-11
Original file line numberDiff line numberDiff line change
@@ -3209,7 +3209,6 @@ dependencies = [
32093209
"serde",
32103210
"serde_json",
32113211
"smallvec",
3212-
"tempfile",
32133212
"tracing",
32143213
]
32153214

@@ -3303,7 +3302,6 @@ dependencies = [
33033302
"rustc_macros",
33043303
"rustc_serialize",
33053304
"smallvec",
3306-
"stable_deref_trait",
33073305
"stacker",
33083306
"tempfile",
33093307
"thin-vec",
@@ -3516,7 +3514,6 @@ dependencies = [
35163514
"rustc_trait_selection",
35173515
"rustc_type_ir",
35183516
"smallvec",
3519-
"thin-vec",
35203517
"tracing",
35213518
]
35223519

@@ -3653,7 +3650,6 @@ dependencies = [
36533650
"rustc_trait_selection",
36543651
"rustc_traits",
36553652
"rustc_ty_utils",
3656-
"smallvec",
36573653
"tracing",
36583654
]
36593655

@@ -3761,7 +3757,6 @@ dependencies = [
37613757
"rustc_span",
37623758
"rustc_target",
37633759
"rustc_type_ir",
3764-
"smallvec",
37653760
"snap",
37663761
"tempfile",
37673762
"tracing",
@@ -3891,7 +3886,6 @@ dependencies = [
38913886
"rustc_target",
38923887
"serde",
38933888
"serde_json",
3894-
"smallvec",
38953889
"tracing",
38963890
]
38973891

@@ -4010,7 +4004,6 @@ version = "0.0.0"
40104004
dependencies = [
40114005
"parking_lot 0.11.2",
40124006
"rustc-rayon-core",
4013-
"rustc_arena",
40144007
"rustc_ast",
40154008
"rustc_data_structures",
40164009
"rustc_errors",
@@ -4080,7 +4073,6 @@ dependencies = [
40804073
"rustc_fluent_macro",
40814074
"rustc_fs_util",
40824075
"rustc_hir",
4083-
"rustc_index",
40844076
"rustc_lint_defs",
40854077
"rustc_macros",
40864078
"rustc_serialize",
@@ -4149,7 +4141,6 @@ dependencies = [
41494141
"rustc_data_structures",
41504142
"rustc_feature",
41514143
"rustc_fs_util",
4152-
"rustc_index",
41534144
"rustc_macros",
41544145
"rustc_serialize",
41554146
"rustc_span",
@@ -4167,7 +4158,6 @@ checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f"
41674158
name = "rustc_trait_selection"
41684159
version = "0.0.0"
41694160
dependencies = [
4170-
"itertools",
41714161
"rustc_ast",
41724162
"rustc_attr",
41734163
"rustc_data_structures",
@@ -4199,7 +4189,6 @@ dependencies = [
41994189
"rustc_ast",
42004190
"rustc_data_structures",
42014191
"rustc_hir",
4202-
"rustc_index",
42034192
"rustc_infer",
42044193
"rustc_middle",
42054194
"rustc_span",

compiler/rustc_codegen_llvm/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@ rustc_target = { path = "../rustc_target" }
3636
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
3737
rustc_ast = { path = "../rustc_ast" }
3838
rustc_span = { path = "../rustc_span" }
39-
tempfile = "3.2.0"
4039
serde = { version = "1", features = [ "derive" ]}
4140
serde_json = "1"

compiler/rustc_codegen_ssa/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ bitflags = "1.2.1"
1212
cc = "1.0.69"
1313
itertools = "0.10.1"
1414
tracing = "0.1"
15-
libc = "0.2.50"
1615
jobserver = "0.1.22"
1716
tempfile = "3.2"
1817
thorin-dwp = "0.4"
@@ -43,6 +42,9 @@ rustc_query_system = { path = "../rustc_query_system" }
4342
rustc_target = { path = "../rustc_target" }
4443
rustc_session = { path = "../rustc_session" }
4544

45+
[target.'cfg(unix)'.dependencies]
46+
libc = "0.2.50"
47+
4648
[dependencies.object]
4749
version = "0.30.1"
4850
default-features = false

compiler/rustc_data_structures/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ smallvec = { version = "1.8.1", features = [
2626
"union",
2727
"may_dangle",
2828
] }
29-
stable_deref_trait = "1.0.0"
3029
stacker = "0.1.15"
3130
tempfile = "3.2"
3231
thin-vec = "0.2.12"

compiler/rustc_hir_analysis/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
2727
rustc_lint_defs = { path = "../rustc_lint_defs" }
2828
rustc_type_ir = { path = "../rustc_type_ir" }
2929
rustc_feature = { path = "../rustc_feature" }
30-
thin-vec = "0.2.12"
3130
tracing = "0.1"

compiler/rustc_interface/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ libloading = "0.7.1"
1010
tracing = "0.1"
1111
rustc-rayon-core = { version = "0.5.0", optional = true }
1212
rustc-rayon = { version = "0.5.0", optional = true }
13-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1413
rustc_ast = { path = "../rustc_ast" }
1514
rustc_attr = { path = "../rustc_attr" }
1615
rustc_borrowck = { path = "../rustc_borrowck" }

compiler/rustc_metadata/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ libloading = "0.7.1"
1111
odht = { version = "0.3.1", features = ["nightly"] }
1212
snap = "1"
1313
tracing = "0.1"
14-
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1514
tempfile = "3.2"
1615
rustc_middle = { path = "../rustc_middle" }
1716
rustc_attr = { path = "../rustc_attr" }

compiler/rustc_monomorphize/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ edition = "2021"
88
[dependencies]
99
serde = "1"
1010
serde_json = "1"
11-
smallvec = { version = "1.8.1", features = [ "union", "may_dangle" ] }
1211
tracing = "0.1"
1312
rustc_data_structures = { path = "../rustc_data_structures" }
1413
rustc_errors = { path = "../rustc_errors" }

compiler/rustc_query_system/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ edition = "2021"
77

88
[dependencies]
99
parking_lot = "0.11"
10-
rustc_arena = { path = "../rustc_arena" }
1110
rustc_ast = { path = "../rustc_ast" }
1211
rustc_data_structures = { path = "../rustc_data_structures" }
1312
rustc_errors = { path = "../rustc_errors" }

compiler/rustc_session/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ rustc_fluent_macro = { path = "../rustc_fluent_macro" }
1414
rustc_target = { path = "../rustc_target" }
1515
rustc_serialize = { path = "../rustc_serialize" }
1616
rustc_data_structures = { path = "../rustc_data_structures" }
17-
rustc_index = { path = "../rustc_index" }
1817
rustc_span = { path = "../rustc_span" }
1918
rustc_fs_util = { path = "../rustc_fs_util" }
2019
rustc_ast = { path = "../rustc_ast" }

compiler/rustc_target/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ rustc_fs_util = { path = "../rustc_fs_util" }
1111
rustc_abi = { path = "../rustc_abi" }
1212
rustc_data_structures = { path = "../rustc_data_structures" }
1313
rustc_feature = { path = "../rustc_feature" }
14-
rustc_index = { path = "../rustc_index" }
1514
rustc_macros = { path = "../rustc_macros" }
1615
rustc_serialize = { path = "../rustc_serialize" }
1716
rustc_span = { path = "../rustc_span" }

compiler/rustc_trait_selection/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ rustc_span = { path = "../rustc_span" }
2525
rustc_target = { path = "../rustc_target" }
2626
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
2727
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
28-
itertools = "0.10.1"

compiler/rustc_traits/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ tracing = "0.1"
88
rustc_middle = { path = "../rustc_middle" }
99
rustc_data_structures = { path = "../rustc_data_structures" }
1010
rustc_hir = { path = "../rustc_hir" }
11-
rustc_index = { path = "../rustc_index" }
1211
rustc_ast = { path = "../rustc_ast" }
1312
rustc_span = { path = "../rustc_span" }
1413
rustc_target = { path = "../rustc_target" }

0 commit comments

Comments
 (0)