From 0324ac8ae014afc3eaa1bb85f169a025274e54bc Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Thu, 2 Jun 2022 10:15:07 +0000 Subject: [PATCH] List all crates used in crate source in Cargo.toml --- Cargo.lock | 5 +++++ compiler/rustc_smir/Cargo.toml | 21 ++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e5908889dce..75eedc90dbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4408,8 +4408,13 @@ version = "0.0.0" dependencies = [ "rustc_borrowck", "rustc_driver", + "rustc_hir", "rustc_interface", "rustc_middle", + "rustc_mir_dataflow", + "rustc_mir_transform", + "rustc_serialize", + "rustc_trait_selection", ] [[package]] diff --git a/compiler/rustc_smir/Cargo.toml b/compiler/rustc_smir/Cargo.toml index bc0cac5a0bc..5e0d1f369a6 100644 --- a/compiler/rustc_smir/Cargo.toml +++ b/compiler/rustc_smir/Cargo.toml @@ -4,10 +4,25 @@ version = "0.0.0" edition = "2021" [dependencies] -rustc_middle = { path = "../rustc_middle", optional = true } -rustc_driver = { path = "../rustc_driver", optional = true } rustc_borrowck = { path = "../rustc_borrowck", optional = true } +rustc_driver = { path = "../rustc_driver", optional = true } +rustc_hir = { path = "../rustc_hir", optional = true } rustc_interface = { path = "../rustc_interface", optional = true } +rustc_middle = { path = "../rustc_middle", optional = true } +rustc_mir_dataflow = { path = "../rustc_mir_dataflow", optional = true } +rustc_mir_transform = { path = "../rustc_mir_transform", optional = true } +rustc_serialize = { path = "../rustc_serialize", optional = true } +rustc_trait_selection = { path = "../rustc_trait_selection", optional = true } [features] -default = ["rustc_middle", "rustc_driver", "rustc_borrowck", "rustc_interface"] +default = [ + "rustc_borrowck", + "rustc_driver", + "rustc_hir", + "rustc_interface", + "rustc_middle", + "rustc_mir_dataflow", + "rustc_mir_transform", + "rustc_serialize", + "rustc_trait_selection", +]