From cf24a1df331ae4314245825c4ce668bc74b6d55c Mon Sep 17 00:00:00 2001 From: Mark Simulacrum Date: Sat, 2 Jun 2018 07:50:35 -0600 Subject: [PATCH] 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. --- src/bootstrap/test.rs | 3 +-- src/test/rustdoc/rustc-macro-crate.rs | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 9284778679215..c94cb57603206 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 dc28732b55ee2..d46f968441172 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"]