Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 67afeef

Browse files
committedNov 30, 2018
proc_macro: move to a dependency of libtest.
1 parent 8cf463b commit 67afeef

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed
 

‎Cargo.lock

+1-3
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,6 @@ dependencies = [
19271927
"log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
19281928
"parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
19291929
"polonius-engine 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
1930-
"proc_macro 0.0.0",
19311930
"rustc-rayon 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
19321931
"rustc-rayon-core 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
19331932
"rustc_apfloat 0.0.0",
@@ -2345,7 +2344,6 @@ dependencies = [
23452344
"flate2 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
23462345
"log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
23472346
"memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
2348-
"proc_macro 0.0.0",
23492347
"rustc 0.0.0",
23502348
"rustc_data_structures 0.0.0",
23512349
"rustc_errors 0.0.0",
@@ -2884,7 +2882,6 @@ version = "0.0.0"
28842882
dependencies = [
28852883
"fmt_macros 0.0.0",
28862884
"log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
2887-
"proc_macro 0.0.0",
28882885
"rustc_data_structures 0.0.0",
28892886
"rustc_errors 0.0.0",
28902887
"rustc_target 0.0.0",
@@ -2974,6 +2971,7 @@ name = "test"
29742971
version = "0.0.0"
29752972
dependencies = [
29762973
"getopts 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
2974+
"proc_macro 0.0.0",
29772975
"term 0.0.0",
29782976
]
29792977

‎src/librustc/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ lazy_static = "1.0.0"
1818
scoped-tls = { version = "0.1.1", features = ["nightly"] }
1919
log = { version = "0.4", features = ["release_max_level_info", "std"] }
2020
polonius-engine = "0.5.0"
21-
proc_macro = { path = "../libproc_macro" }
2221
rustc-rayon = "0.1.1"
2322
rustc-rayon-core = "0.1.1"
2423
rustc_apfloat = { path = "../librustc_apfloat" }

‎src/librustc_metadata/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ crate-type = ["dylib"]
1212
flate2 = "1.0"
1313
log = "0.4"
1414
memmap = "0.6"
15-
proc_macro = { path = "../libproc_macro" }
1615
rustc = { path = "../librustc" }
1716
rustc_data_structures = { path = "../librustc_data_structures" }
1817
rustc_errors = { path = "../librustc_errors" }

‎src/libsyntax_ext/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ 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" }

‎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)
Please sign in to comment.