Skip to content

Commit cf24a1d

Browse files
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.
1 parent 1b3d737 commit cf24a1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bootstrap/test.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,7 @@ impl Step for Compiletest {
952952
if suite.ends_with("fulldeps") ||
953953
// FIXME: Does pretty need librustc compiled? Note that there are
954954
// fulldeps test suites with mode = pretty as well.
955-
mode == "pretty" ||
956-
mode == "rustdoc"
955+
mode == "pretty"
957956
{
958957
builder.ensure(compile::Rustc { compiler, target });
959958
}

src/test/rustdoc/rustc-macro-crate.rs

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// no-prefer-dynamic
12+
// ignore-stage1
1213

1314
#![crate_type = "proc-macro"]
1415

0 commit comments

Comments
 (0)