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.
This commit is contained in:
Mark Simulacrum 2018-06-02 07:50:35 -06:00
parent 1b3d737716
commit cf24a1df33
2 changed files with 2 additions and 2 deletions

View File

@ -952,8 +952,7 @@ impl Step for Compiletest {
if suite.ends_with("fulldeps") || if suite.ends_with("fulldeps") ||
// FIXME: Does pretty need librustc compiled? Note that there are // FIXME: Does pretty need librustc compiled? Note that there are
// fulldeps test suites with mode = pretty as well. // fulldeps test suites with mode = pretty as well.
mode == "pretty" || mode == "pretty"
mode == "rustdoc"
{ {
builder.ensure(compile::Rustc { compiler, target }); builder.ensure(compile::Rustc { compiler, target });
} }

View File

@ -9,6 +9,7 @@
// except according to those terms. // except according to those terms.
// no-prefer-dynamic // no-prefer-dynamic
// ignore-stage1
#![crate_type = "proc-macro"] #![crate_type = "proc-macro"]