Skip to content

Commit 412df85

Browse files
committed
Remove some unnecessary crate dependencies.
1 parent 8337ba9 commit 412df85

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

Diff for: Cargo.lock

-2
Original file line numberDiff line numberDiff line change
@@ -4205,7 +4205,6 @@ dependencies = [
42054205
"rustc_middle",
42064206
"rustc_span",
42074207
"rustc_target",
4208-
"rustc_type_ir",
42094208
"smallvec",
42104209
"tracing",
42114210
]
@@ -4323,7 +4322,6 @@ dependencies = [
43234322
name = "rustc_log"
43244323
version = "0.0.0"
43254324
dependencies = [
4326-
"rustc_span",
43274325
"tracing",
43284326
"tracing-core",
43294327
"tracing-subscriber",

Diff for: compiler/rustc_data_structures/Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ elsa = "=1.7.1"
1212
ena = "0.14.3"
1313
indexmap = { version = "2.0.0" }
1414
jobserver_crate = { version = "0.1.28", package = "jobserver" }
15-
libc = "0.2"
1615
measureme = "11"
1716
rustc-hash = "1.1.0"
1817
rustc-rayon = { version = "0.5.0", optional = true }
@@ -41,6 +40,11 @@ features = [
4140
"Win32_System_Threading",
4241
]
4342

43+
[target.'cfg(unix)'.dependencies]
44+
# tidy-alphabetical-start
45+
libc = "0.2"
46+
# tidy-alphabetical-end
47+
4448
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
4549
# tidy-alphabetical-start
4650
memmap2 = "0.2.1"

Diff for: compiler/rustc_infer/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ rustc_macros = { path = "../rustc_macros" }
1818
rustc_middle = { path = "../rustc_middle" }
1919
rustc_span = { path = "../rustc_span" }
2020
rustc_target = { path = "../rustc_target" }
21-
rustc_type_ir = { path = "../rustc_type_ir" }
2221
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
2322
tracing = "0.1"
2423
# tidy-alphabetical-end

Diff for: compiler/rustc_log/Cargo.toml

-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ tracing-subscriber = { version = "0.3.3", default-features = false, features = [
1111
tracing-tree = "0.3.1"
1212
# tidy-alphabetical-end
1313

14-
[dev-dependencies]
15-
# tidy-alphabetical-start
16-
rustc_span = { path = "../rustc_span" }
17-
# tidy-alphabetical-end
18-
1914
[features]
2015
# tidy-alphabetical-start
2116
max_level_info = ['tracing/max_level_info']

0 commit comments

Comments
 (0)