Skip to content

Commit 7b6ef2b

Browse files
committed
librustc_ast_lowering: cargo changes.
1 parent ce8dbf0 commit 7b6ef2b

File tree

4 files changed

+43
-1
lines changed

4 files changed

+43
-1
lines changed

Cargo.lock

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3358,6 +3358,22 @@ dependencies = [
33583358
"core",
33593359
]
33603360

3361+
[[package]]
3362+
name = "rustc_ast_lowering"
3363+
version = "0.0.0"
3364+
dependencies = [
3365+
"log",
3366+
"rustc",
3367+
"rustc_data_structures",
3368+
"rustc_error_codes",
3369+
"rustc_errors",
3370+
"rustc_index",
3371+
"rustc_span",
3372+
"rustc_target",
3373+
"smallvec 1.0.0",
3374+
"syntax",
3375+
]
3376+
33613377
[[package]]
33623378
name = "rustc_builtin_macros"
33633379
version = "0.0.0"
@@ -3578,6 +3594,7 @@ dependencies = [
35783594
"once_cell",
35793595
"rustc",
35803596
"rustc-rayon",
3597+
"rustc_ast_lowering",
35813598
"rustc_builtin_macros",
35823599
"rustc_codegen_llvm",
35833600
"rustc_codegen_ssa",
@@ -3783,6 +3800,7 @@ dependencies = [
37833800
"bitflags",
37843801
"log",
37853802
"rustc",
3803+
"rustc_ast_lowering",
37863804
"rustc_data_structures",
37873805
"rustc_error_codes",
37883806
"rustc_errors",

src/librustc_ast_lowering/Cargo.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[package]
2+
authors = ["The Rust Project Developers"]
3+
name = "rustc_ast_lowering"
4+
version = "0.0.0"
5+
edition = "2018"
6+
7+
[lib]
8+
name = "rustc_ast_lowering"
9+
path = "lib.rs"
10+
doctest = false
11+
12+
[dependencies]
13+
log = { version = "0.4", features = ["release_max_level_info", "std"] }
14+
rustc = { path = "../librustc" }
15+
rustc_target = { path = "../librustc_target" }
16+
rustc_data_structures = { path = "../librustc_data_structures" }
17+
rustc_index = { path = "../librustc_index" }
18+
rustc_span = { path = "../librustc_span" }
19+
rustc_error_codes = { path = "../librustc_error_codes" }
20+
rustc_errors = { path = "../librustc_errors" }
21+
syntax = { path = "../libsyntax" }
22+
smallvec = { version = "1.0", features = ["union", "may_dangle"] }

src/librustc_interface/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ rustc_parse = { path = "../librustc_parse" }
2020
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
2121
rustc_serialize = { path = "../libserialize", package = "serialize" }
2222
rustc = { path = "../librustc" }
23+
rustc_ast_lowering = { path = "../librustc_ast_lowering" }
2324
rustc_incremental = { path = "../librustc_incremental" }
2425
rustc_traits = { path = "../librustc_traits" }
2526
rustc_data_structures = { path = "../librustc_data_structures" }

src/librustc_resolve/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ bitflags = "1.2.1"
1515
log = "0.4"
1616
syntax = { path = "../libsyntax" }
1717
rustc_expand = { path = "../librustc_expand" }
18-
rustc = { path = "../librustc" }
1918
arena = { path = "../libarena" }
2019
errors = { path = "../librustc_errors", package = "rustc_errors" }
2120
syntax_pos = { path = "../librustc_span", package = "rustc_span" }
21+
rustc = { path = "../librustc" }
22+
rustc_ast_lowering = { path = "../librustc_ast_lowering" }
2223
rustc_data_structures = { path = "../librustc_data_structures" }
2324
rustc_feature = { path = "../librustc_feature" }
2425
rustc_metadata = { path = "../librustc_metadata" }

0 commit comments

Comments
 (0)