about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-01-19 04:45:22 +0000
committerbors <bors@rust-lang.org>2018-01-19 04:45:22 +0000
commit10333dde82b03c7df2620f742596d3e7714f9e25 (patch)
tree8fb15906cf99a8aa18681c612b5b5a426afbb7c4 /src/bootstrap
parent9af8d42ec79558225043189e429e9d652ff89eab (diff)
parentf0a7d8e2bd5a878ef65b34406637c1032507a675 (diff)
downloadrust-10333dde82b03c7df2620f742596d3e7714f9e25.tar.gz
rust-10333dde82b03c7df2620f742596d3e7714f9e25.zip
Auto merge of #47494 - michaelwoerister:proc-macro-incremental, r=nikomatsakis
Don't include DefIndex in proc-macro registrar function symbol.

There can only ever be one registrar function per plugin or proc-macro crate, so adding the `DefIndex` to the function's symbol name does not serve a real purpose. Remove the `DefIndex` from the symbol name makes it stable across incremental compilation sessions.

This should fix issue #47292.
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/check.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs
index 78ad71172a8..1187376e177 100644
--- a/src/bootstrap/check.rs
+++ b/src/bootstrap/check.rs
@@ -605,6 +605,11 @@ static HOST_COMPILETESTS: &[Test] = &[
         mode: "compile-fail",
         suite: "compile-fail-fulldeps",
     },
+    Test {
+        path: "src/test/incremental-fulldeps",
+        mode: "incremental",
+        suite: "incremental-fulldeps",
+    },
     Test { path: "src/test/run-make", mode: "run-make", suite: "run-make" },
     Test { path: "src/test/rustdoc", mode: "rustdoc", suite: "rustdoc" },