diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-06-02 10:15:07 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-06-02 10:15:07 +0000 |
| commit | 0324ac8ae014afc3eaa1bb85f169a025274e54bc (patch) | |
| tree | 8507ae41d5a71b3f932a2a0f322d777140e21151 | |
| parent | 9960cc1f084694f096d6876e1afd698cce1222c8 (diff) | |
| download | rust-0324ac8ae014afc3eaa1bb85f169a025274e54bc.tar.gz rust-0324ac8ae014afc3eaa1bb85f169a025274e54bc.zip | |
List all crates used in crate source in Cargo.toml
| -rw-r--r-- | Cargo.lock | 5 | ||||
| -rw-r--r-- | 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", +] |
