Skip to content

Commit

Permalink
Rustdoc itself no longer requires proc macros to build
Browse files Browse the repository at this point in the history
This avoids a full compiler build in order to build and/or run tests for
rustdoc.
  • Loading branch information
Mark-Simulacrum committed Jun 2, 2018
1 parent 1b3d737 commit cf24a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/bootstrap/test.rs
Expand Up @@ -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 });
}
Expand Down
1 change: 1 addition & 0 deletions src/test/rustdoc/rustc-macro-crate.rs
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// no-prefer-dynamic
// ignore-stage1

#![crate_type = "proc-macro"]

Expand Down

0 comments on commit cf24a1d

Please sign in to comment.