drop unused deps, gate libc under unix for one crate

This commit is contained in:
klensy 2023-04-22 13:38:18 +03:00
parent ccb6290e43
commit 3338ee3ca7
13 changed files with 3 additions and 23 deletions

View File

@ -3093,7 +3093,6 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"smallvec", "smallvec",
"tempfile",
"tracing", "tracing",
] ]
@ -3187,7 +3186,6 @@ dependencies = [
"rustc_macros", "rustc_macros",
"rustc_serialize", "rustc_serialize",
"smallvec", "smallvec",
"stable_deref_trait",
"stacker", "stacker",
"tempfile", "tempfile",
"thin-vec", "thin-vec",
@ -3401,7 +3399,6 @@ dependencies = [
"rustc_trait_selection", "rustc_trait_selection",
"rustc_type_ir", "rustc_type_ir",
"smallvec", "smallvec",
"thin-vec",
"tracing", "tracing",
] ]
@ -3538,7 +3535,6 @@ dependencies = [
"rustc_trait_selection", "rustc_trait_selection",
"rustc_traits", "rustc_traits",
"rustc_ty_utils", "rustc_ty_utils",
"smallvec",
"tracing", "tracing",
] ]
@ -3646,7 +3642,6 @@ dependencies = [
"rustc_span", "rustc_span",
"rustc_target", "rustc_target",
"rustc_type_ir", "rustc_type_ir",
"smallvec",
"snap", "snap",
"tempfile", "tempfile",
"tracing", "tracing",
@ -3776,7 +3771,6 @@ dependencies = [
"rustc_target", "rustc_target",
"serde", "serde",
"serde_json", "serde_json",
"smallvec",
"tracing", "tracing",
] ]
@ -3895,7 +3889,6 @@ version = "0.0.0"
dependencies = [ dependencies = [
"parking_lot 0.11.2", "parking_lot 0.11.2",
"rustc-rayon-core", "rustc-rayon-core",
"rustc_arena",
"rustc_ast", "rustc_ast",
"rustc_data_structures", "rustc_data_structures",
"rustc_errors", "rustc_errors",
@ -3965,7 +3958,6 @@ dependencies = [
"rustc_fluent_macro", "rustc_fluent_macro",
"rustc_fs_util", "rustc_fs_util",
"rustc_hir", "rustc_hir",
"rustc_index",
"rustc_lint_defs", "rustc_lint_defs",
"rustc_macros", "rustc_macros",
"rustc_serialize", "rustc_serialize",
@ -4034,7 +4026,6 @@ dependencies = [
"rustc_data_structures", "rustc_data_structures",
"rustc_feature", "rustc_feature",
"rustc_fs_util", "rustc_fs_util",
"rustc_index",
"rustc_macros", "rustc_macros",
"rustc_serialize", "rustc_serialize",
"rustc_span", "rustc_span",
@ -4052,7 +4043,6 @@ checksum = "8ba09476327c4b70ccefb6180f046ef588c26a24cf5d269a9feba316eb4f029f"
name = "rustc_trait_selection" name = "rustc_trait_selection"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"itertools",
"rustc_ast", "rustc_ast",
"rustc_attr", "rustc_attr",
"rustc_data_structures", "rustc_data_structures",
@ -4084,7 +4074,6 @@ dependencies = [
"rustc_ast", "rustc_ast",
"rustc_data_structures", "rustc_data_structures",
"rustc_hir", "rustc_hir",
"rustc_index",
"rustc_infer", "rustc_infer",
"rustc_middle", "rustc_middle",
"rustc_span", "rustc_span",

View File

@ -36,6 +36,5 @@ rustc_target = { path = "../rustc_target" }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] } smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_span = { path = "../rustc_span" } rustc_span = { path = "../rustc_span" }
tempfile = "3.2.0"
serde = { version = "1", features = [ "derive" ]} serde = { version = "1", features = [ "derive" ]}
serde_json = "1" serde_json = "1"

View File

@ -12,7 +12,6 @@ bitflags = "1.2.1"
cc = "1.0.69" cc = "1.0.69"
itertools = "0.10.1" itertools = "0.10.1"
tracing = "0.1" tracing = "0.1"
libc = "0.2.50"
jobserver = "0.1.22" jobserver = "0.1.22"
tempfile = "3.2" tempfile = "3.2"
thorin-dwp = "0.4" thorin-dwp = "0.4"
@ -43,6 +42,9 @@ rustc_query_system = { path = "../rustc_query_system" }
rustc_target = { path = "../rustc_target" } rustc_target = { path = "../rustc_target" }
rustc_session = { path = "../rustc_session" } rustc_session = { path = "../rustc_session" }
[target.'cfg(unix)'.dependencies]
libc = "0.2.50"
[dependencies.object] [dependencies.object]
version = "0.30.1" version = "0.30.1"
default-features = false default-features = false

View File

@ -26,7 +26,6 @@ smallvec = { version = "1.8.1", features = [
"union", "union",
"may_dangle", "may_dangle",
] } ] }
stable_deref_trait = "1.0.0"
stacker = "0.1.15" stacker = "0.1.15"
tempfile = "3.2" tempfile = "3.2"
thin-vec = "0.2.12" thin-vec = "0.2.12"

View File

@ -27,5 +27,4 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
rustc_lint_defs = { path = "../rustc_lint_defs" } rustc_lint_defs = { path = "../rustc_lint_defs" }
rustc_type_ir = { path = "../rustc_type_ir" } rustc_type_ir = { path = "../rustc_type_ir" }
rustc_feature = { path = "../rustc_feature" } rustc_feature = { path = "../rustc_feature" }
thin-vec = "0.2.12"
tracing = "0.1" tracing = "0.1"

View File

@ -10,7 +10,6 @@ libloading = "0.7.1"
tracing = "0.1" tracing = "0.1"
rustc-rayon-core = { version = "0.5.0", optional = true } rustc-rayon-core = { version = "0.5.0", optional = true }
rustc-rayon = { version = "0.5.0", optional = true } rustc-rayon = { version = "0.5.0", optional = true }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_attr = { path = "../rustc_attr" } rustc_attr = { path = "../rustc_attr" }
rustc_borrowck = { path = "../rustc_borrowck" } rustc_borrowck = { path = "../rustc_borrowck" }

View File

@ -11,7 +11,6 @@ libloading = "0.7.1"
odht = { version = "0.3.1", features = ["nightly"] } odht = { version = "0.3.1", features = ["nightly"] }
snap = "1" snap = "1"
tracing = "0.1" tracing = "0.1"
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
tempfile = "3.2" tempfile = "3.2"
rustc_middle = { path = "../rustc_middle" } rustc_middle = { path = "../rustc_middle" }
rustc_attr = { path = "../rustc_attr" } rustc_attr = { path = "../rustc_attr" }

View File

@ -8,7 +8,6 @@ edition = "2021"
[dependencies] [dependencies]
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"
smallvec = { version = "1.8.1", features = [ "union", "may_dangle" ] }
tracing = "0.1" tracing = "0.1"
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" } rustc_errors = { path = "../rustc_errors" }

View File

@ -7,7 +7,6 @@ edition = "2021"
[dependencies] [dependencies]
parking_lot = "0.11" parking_lot = "0.11"
rustc_arena = { path = "../rustc_arena" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }
rustc_errors = { path = "../rustc_errors" } rustc_errors = { path = "../rustc_errors" }

View File

@ -14,7 +14,6 @@ rustc_fluent_macro = { path = "../rustc_fluent_macro" }
rustc_target = { path = "../rustc_target" } rustc_target = { path = "../rustc_target" }
rustc_serialize = { path = "../rustc_serialize" } rustc_serialize = { path = "../rustc_serialize" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }
rustc_index = { path = "../rustc_index" }
rustc_span = { path = "../rustc_span" } rustc_span = { path = "../rustc_span" }
rustc_fs_util = { path = "../rustc_fs_util" } rustc_fs_util = { path = "../rustc_fs_util" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }

View File

@ -11,7 +11,6 @@ rustc_fs_util = { path = "../rustc_fs_util" }
rustc_abi = { path = "../rustc_abi" } rustc_abi = { path = "../rustc_abi" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }
rustc_feature = { path = "../rustc_feature" } rustc_feature = { path = "../rustc_feature" }
rustc_index = { path = "../rustc_index" }
rustc_macros = { path = "../rustc_macros" } rustc_macros = { path = "../rustc_macros" }
rustc_serialize = { path = "../rustc_serialize" } rustc_serialize = { path = "../rustc_serialize" }
rustc_span = { path = "../rustc_span" } rustc_span = { path = "../rustc_span" }

View File

@ -25,4 +25,3 @@ rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" } rustc_target = { path = "../rustc_target" }
rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] } rustc_transmute = { path = "../rustc_transmute", features = ["rustc"] }
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] } smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
itertools = "0.10.1"

View File

@ -8,7 +8,6 @@ tracing = "0.1"
rustc_middle = { path = "../rustc_middle" } rustc_middle = { path = "../rustc_middle" }
rustc_data_structures = { path = "../rustc_data_structures" } rustc_data_structures = { path = "../rustc_data_structures" }
rustc_hir = { path = "../rustc_hir" } rustc_hir = { path = "../rustc_hir" }
rustc_index = { path = "../rustc_index" }
rustc_ast = { path = "../rustc_ast" } rustc_ast = { path = "../rustc_ast" }
rustc_span = { path = "../rustc_span" } rustc_span = { path = "../rustc_span" }
rustc_target = { path = "../rustc_target" } rustc_target = { path = "../rustc_target" }