Skip to content

Commit 0324ac8

Browse files
committed
List all crates used in crate source in Cargo.toml
1 parent 9960cc1 commit 0324ac8

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

Cargo.lock

+5
Original file line numberDiff line numberDiff line change
@@ -4408,8 +4408,13 @@ version = "0.0.0"
44084408
dependencies = [
44094409
"rustc_borrowck",
44104410
"rustc_driver",
4411+
"rustc_hir",
44114412
"rustc_interface",
44124413
"rustc_middle",
4414+
"rustc_mir_dataflow",
4415+
"rustc_mir_transform",
4416+
"rustc_serialize",
4417+
"rustc_trait_selection",
44134418
]
44144419

44154420
[[package]]

compiler/rustc_smir/Cargo.toml

+18-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,25 @@ version = "0.0.0"
44
edition = "2021"
55

66
[dependencies]
7-
rustc_middle = { path = "../rustc_middle", optional = true }
8-
rustc_driver = { path = "../rustc_driver", optional = true }
97
rustc_borrowck = { path = "../rustc_borrowck", optional = true }
8+
rustc_driver = { path = "../rustc_driver", optional = true }
9+
rustc_hir = { path = "../rustc_hir", optional = true }
1010
rustc_interface = { path = "../rustc_interface", optional = true }
11+
rustc_middle = { path = "../rustc_middle", optional = true }
12+
rustc_mir_dataflow = { path = "../rustc_mir_dataflow", optional = true }
13+
rustc_mir_transform = { path = "../rustc_mir_transform", optional = true }
14+
rustc_serialize = { path = "../rustc_serialize", optional = true }
15+
rustc_trait_selection = { path = "../rustc_trait_selection", optional = true }
1116

1217
[features]
13-
default = ["rustc_middle", "rustc_driver", "rustc_borrowck", "rustc_interface"]
18+
default = [
19+
"rustc_borrowck",
20+
"rustc_driver",
21+
"rustc_hir",
22+
"rustc_interface",
23+
"rustc_middle",
24+
"rustc_mir_dataflow",
25+
"rustc_mir_transform",
26+
"rustc_serialize",
27+
"rustc_trait_selection",
28+
]

0 commit comments

Comments
 (0)