about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2018-06-02 07:50:35 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2018-06-02 09:32:22 -0600
commitcf24a1df331ae4314245825c4ce668bc74b6d55c (patch)
tree925ed47c493a22b24c4e9af40a7bae796eb3c44e /src
parent1b3d737716a4ae40709da627fc3e726ce539e405 (diff)
downloadrust-cf24a1df331ae4314245825c4ce668bc74b6d55c.tar.gz
rust-cf24a1df331ae4314245825c4ce668bc74b6d55c.zip
Rustdoc itself no longer requires proc macros to build
This avoids a full compiler build in order to build and/or run tests for
rustdoc.
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/test.rs3
-rw-r--r--src/test/rustdoc/rustc-macro-crate.rs1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 92847786792..c94cb576032 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -952,8 +952,7 @@ impl Step for Compiletest {
         if suite.ends_with("fulldeps") ||
             // FIXME: Does pretty need librustc compiled? Note that there are
             // fulldeps test suites with mode = pretty as well.
-            mode == "pretty" ||
-            mode == "rustdoc"
+            mode == "pretty"
         {
             builder.ensure(compile::Rustc { compiler, target });
         }
diff --git a/src/test/rustdoc/rustc-macro-crate.rs b/src/test/rustdoc/rustc-macro-crate.rs
index dc28732b55e..d46f9684411 100644
--- a/src/test/rustdoc/rustc-macro-crate.rs
+++ b/src/test/rustdoc/rustc-macro-crate.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // no-prefer-dynamic
+// ignore-stage1
 
 #![crate_type = "proc-macro"]