Skip to content

Commit b99418d

Browse files
committed
Add rustc book to the build system
1 parent 0dd0a5b commit b99418d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/bootstrap/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,15 @@ impl<'a> Builder<'a> {
323323
test::Cargotest, test::Cargo, test::Rls, test::ErrorIndex, test::Distcheck,
324324
test::RunMakeFullDeps,
325325
test::Nomicon, test::Reference, test::RustdocBook, test::RustByExample,
326-
test::TheBook, test::UnstableBook,
326+
test::TheBook, test::UnstableBook, test::RustcBook,
327327
test::Rustfmt, test::Miri, test::Clippy, test::RustdocJS, test::RustdocTheme,
328328
// Run run-make last, since these won't pass without make on Windows
329329
test::RunMake),
330330
Kind::Bench => describe!(test::Crate, test::CrateLibrustc),
331331
Kind::Doc => describe!(doc::UnstableBook, doc::UnstableBookGen, doc::TheBook,
332332
doc::Standalone, doc::Std, doc::Test, doc::WhitelistedRustc, doc::Rustc,
333333
doc::ErrorIndex, doc::Nomicon, doc::Reference, doc::Rustdoc, doc::RustByExample,
334-
doc::CargoBook),
334+
doc::RustcBook, doc::CargoBook),
335335
Kind::Dist => describe!(dist::Docs, dist::RustcDocs, dist::Mingw, dist::Rustc,
336336
dist::DebuggerScripts, dist::Std, dist::Analysis, dist::Src,
337337
dist::PlainSourceTarball, dist::Cargo, dist::Rls, dist::Rustfmt, dist::Extended,

src/bootstrap/doc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ book!(
7171
Nomicon, "src/doc/nomicon", "nomicon";
7272
Reference, "src/doc/reference", "reference";
7373
Rustdoc, "src/doc/rustdoc", "rustdoc";
74+
RustcBook, "src/doc/rustc", "rustc";
7475
RustByExample, "src/doc/rust-by-example", "rust-by-example";
7576
);
7677

src/bootstrap/test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,6 +1121,7 @@ test_book!(
11211121
Nomicon, "src/doc/nomicon", "nomicon", default=false;
11221122
Reference, "src/doc/reference", "reference", default=false;
11231123
RustdocBook, "src/doc/rustdoc", "rustdoc", default=true;
1124+
RustcBook, "src/doc/rustc", "rustc", default=true;
11241125
RustByExample, "src/doc/rust-by-example", "rust-by-example", default=false;
11251126
TheBook, "src/doc/book", "book", default=false;
11261127
UnstableBook, "src/doc/unstable-book", "unstable-book", default=true;

0 commit comments

Comments
 (0)