Skip to content

Commit 705de74

Browse files
committed
proc_macro: move to a dependency of libtest.
1 parent 825bfeb commit 705de74

File tree

5 files changed

+5
-9
lines changed

5 files changed

+5
-9
lines changed

src/Cargo.lock

+1-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/librustc/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ bitflags = "1.0"
1414
fmt_macros = { path = "../libfmt_macros" }
1515
graphviz = { path = "../libgraphviz" }
1616
jobserver = "0.1"
17-
lazy_static = "1.0.0"
1817
log = { version = "0.4", features = ["release_max_level_info", "std"] }
19-
proc_macro = { path = "../libproc_macro" }
2018
rustc_apfloat = { path = "../librustc_apfloat" }
2119
rustc_back = { path = "../librustc_back" }
2220
rustc_const_math = { path = "../librustc_const_math" }

src/librustc_metadata/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ crate-type = ["dylib"]
1111
[dependencies]
1212
flate2 = "1.0"
1313
log = "0.4"
14-
proc_macro = { path = "../libproc_macro" }
1514
rustc = { path = "../librustc" }
1615
rustc_back = { path = "../librustc_back" }
1716
rustc_data_structures = { path = "../librustc_data_structures" }

src/libsyntax_ext/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ crate-type = ["dylib"]
1010

1111
[dependencies]
1212
fmt_macros = { path = "../libfmt_macros" }
13-
proc_macro = { path = "../libproc_macro" }
1413
rustc_errors = { path = "../librustc_errors" }
1514
syntax = { path = "../libsyntax" }
1615
syntax_pos = { path = "../libsyntax_pos" }
17-
rustc_data_structures = { path = "../librustc_data_structures" }
16+
rustc_data_structures = { path = "../librustc_data_structures" }

src/libtest/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ crate-type = ["dylib", "rlib"]
1111
[dependencies]
1212
getopts = "0.2"
1313
term = { path = "../libterm" }
14+
15+
# not actually used but needed to always have proc_macro in the sysroot
16+
proc_macro = { path = "../libproc_macro" }

0 commit comments

Comments
 (0)