From f443ae68c2d9bbe83e73c495572dc5d59b36e6ea Mon Sep 17 00:00:00 2001 From: Shotaro Yamada Date: Thu, 9 Jan 2020 11:52:03 +0900 Subject: [PATCH] Remove unused dependencies --- Cargo.lock | 10 ---------- src/librustc/Cargo.toml | 3 --- src/librustc_codegen_llvm/Cargo.toml | 1 - src/librustc_driver/Cargo.toml | 2 -- src/librustc_lint/Cargo.toml | 1 - src/libsyntax/Cargo.toml | 2 -- src/rustc/Cargo.toml | 1 - 7 files changed, 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 274c1eefbfb52..a18c3b896d3d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3079,8 +3079,6 @@ dependencies = [ "graphviz", "jobserver", "log", - "measureme", - "num_cpus", "parking_lot", "polonius-engine", "rustc-rayon", @@ -3090,7 +3088,6 @@ dependencies = [ "rustc_error_codes", "rustc_errors", "rustc_feature", - "rustc_fs_util", "rustc_hir", "rustc_index", "rustc_macros", @@ -3278,7 +3275,6 @@ dependencies = [ "jemalloc-sys", "rustc_codegen_ssa", "rustc_driver", - "rustc_target", ] [[package]] @@ -3409,7 +3405,6 @@ dependencies = [ "rustc_codegen_utils", "rustc_data_structures", "rustc_errors", - "rustc_expand", "rustc_feature", "rustc_fs_util", "rustc_hir", @@ -3497,7 +3492,6 @@ name = "rustc_driver" version = "0.0.0" dependencies = [ "env_logger 0.7.1", - "graphviz", "lazy_static 1.3.0", "log", "rustc", @@ -3513,7 +3507,6 @@ dependencies = [ "rustc_mir", "rustc_parse", "rustc_plugin_impl", - "rustc_resolve", "rustc_save_analysis", "rustc_span", "rustc_target", @@ -3660,7 +3653,6 @@ dependencies = [ "log", "rustc", "rustc_data_structures", - "rustc_error_codes", "rustc_feature", "rustc_hir", "rustc_index", @@ -4462,8 +4454,6 @@ dependencies = [ name = "syntax" version = "0.0.0" dependencies = [ - "bitflags", - "lazy_static 1.3.0", "log", "rustc_data_structures", "rustc_error_codes", diff --git a/src/librustc/Cargo.toml b/src/librustc/Cargo.toml index 2e882cfdafdf3..1a04a9d86b58b 100644 --- a/src/librustc/Cargo.toml +++ b/src/librustc/Cargo.toml @@ -15,7 +15,6 @@ bitflags = "1.2.1" fmt_macros = { path = "../libfmt_macros" } graphviz = { path = "../libgraphviz" } jobserver = "0.1" -num_cpus = "1.0" scoped-tls = "1.0" log = { version = "0.4", features = ["release_max_level_info", "std"] } rustc-rayon = "0.3.0" @@ -36,8 +35,6 @@ backtrace = "0.3.40" parking_lot = "0.9" byteorder = { version = "1.3" } chalk-engine = { version = "0.9.0", default-features=false } -rustc_fs_util = { path = "../librustc_fs_util" } smallvec = { version = "1.0", features = ["union", "may_dangle"] } -measureme = "0.5" rustc_error_codes = { path = "../librustc_error_codes" } rustc_session = { path = "../librustc_session" } diff --git a/src/librustc_codegen_llvm/Cargo.toml b/src/librustc_codegen_llvm/Cargo.toml index 2d9232bc19255..3ff5495e29136 100644 --- a/src/librustc_codegen_llvm/Cargo.toml +++ b/src/librustc_codegen_llvm/Cargo.toml @@ -31,5 +31,4 @@ rustc_session = { path = "../librustc_session" } rustc_target = { path = "../librustc_target" } smallvec = { version = "1.0", features = ["union", "may_dangle"] } syntax = { path = "../libsyntax" } -rustc_expand = { path = "../librustc_expand" } rustc_span = { path = "../librustc_span" } diff --git a/src/librustc_driver/Cargo.toml b/src/librustc_driver/Cargo.toml index ed742ed1ca0a3..5e0c853ed2473 100644 --- a/src/librustc_driver/Cargo.toml +++ b/src/librustc_driver/Cargo.toml @@ -10,7 +10,6 @@ path = "lib.rs" crate-type = ["dylib"] [dependencies] -graphviz = { path = "../libgraphviz" } lazy_static = "1.0" log = "0.4" env_logger = { version = "0.7", default-features = false } @@ -30,7 +29,6 @@ rustc_codegen_utils = { path = "../librustc_codegen_utils" } rustc_error_codes = { path = "../librustc_error_codes" } rustc_interface = { path = "../librustc_interface" } rustc_serialize = { path = "../libserialize", package = "serialize" } -rustc_resolve = { path = "../librustc_resolve" } syntax = { path = "../libsyntax" } rustc_span = { path = "../librustc_span" } diff --git a/src/librustc_lint/Cargo.toml b/src/librustc_lint/Cargo.toml index 820064cb5b6f8..5ca8fc97ac422 100644 --- a/src/librustc_lint/Cargo.toml +++ b/src/librustc_lint/Cargo.toml @@ -19,5 +19,4 @@ rustc_span = { path = "../librustc_span" } rustc_data_structures = { path = "../librustc_data_structures" } rustc_feature = { path = "../librustc_feature" } rustc_index = { path = "../librustc_index" } -rustc_error_codes = { path = "../librustc_error_codes" } rustc_session = { path = "../librustc_session" } diff --git a/src/libsyntax/Cargo.toml b/src/libsyntax/Cargo.toml index 2098656db9822..e4f0398fb42d2 100644 --- a/src/libsyntax/Cargo.toml +++ b/src/libsyntax/Cargo.toml @@ -10,11 +10,9 @@ path = "lib.rs" doctest = false [dependencies] -bitflags = "1.2.1" rustc_serialize = { path = "../libserialize", package = "serialize" } log = "0.4" scoped-tls = "1.0" -lazy_static = "1.0.0" rustc_span = { path = "../librustc_span" } errors = { path = "../librustc_errors", package = "rustc_errors" } rustc_data_structures = { path = "../librustc_data_structures" } diff --git a/src/rustc/Cargo.toml b/src/rustc/Cargo.toml index 86a93d7d0cbfe..5e0f167bb3801 100644 --- a/src/rustc/Cargo.toml +++ b/src/rustc/Cargo.toml @@ -9,7 +9,6 @@ name = "rustc_binary" path = "rustc.rs" [dependencies] -rustc_target = { path = "../librustc_target" } rustc_driver = { path = "../librustc_driver" } # Make sure rustc_codegen_ssa ends up in the sysroot, because this