Skip to content

Commit bb345a0

Browse files
committed
Auto merge of #46196 - projektir:rbe-submodule, r=steveklabnik
Adding RBE as a submodule #46194 Adding RBE as a submodule to start issue #46194.
2 parents 3f92e8d + a2df413 commit bb345a0

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,6 @@
4848
[submodule "src/binaryen"]
4949
path = src/binaryen
5050
url = https://github.com/alexcrichton/binaryen.git
51+
[submodule "src/doc/rust-by-example"]
52+
path = src/doc/rust-by-example
53+
url = https://github.com/rust-lang/rust-by-example

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ impl<'a> Builder<'a> {
258258
Kind::Bench => describe!(check::Crate, check::CrateLibrustc),
259259
Kind::Doc => describe!(doc::UnstableBook, doc::UnstableBookGen, doc::TheBook,
260260
doc::Standalone, doc::Std, doc::Test, doc::Rustc, doc::ErrorIndex, doc::Nomicon,
261-
doc::Reference, doc::Rustdoc, doc::CargoBook),
261+
doc::Reference, doc::Rustdoc, doc::RustByExample, doc::CargoBook),
262262
Kind::Dist => describe!(dist::Docs, dist::Mingw, dist::Rustc, dist::DebuggerScripts,
263263
dist::Std, dist::Analysis, dist::Src, dist::PlainSourceTarball, dist::Cargo,
264264
dist::Rls, dist::Rustfmt, dist::Extended, dist::HashSign,

src/bootstrap/doc.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//!
1313
//! This module implements generation for all bits and pieces of documentation
1414
//! for the Rust project. This notably includes suites like the rust book, the
15-
//! nomicon, standalone documentation, etc.
15+
//! nomicon, rust by example, standalone documentation, etc.
1616
//!
1717
//! Everything here is basically just a shim around calling either `rustbook` or
1818
//! `rustdoc`.
@@ -69,6 +69,7 @@ book!(
6969
Nomicon, "src/doc/nomicon", "nomicon";
7070
Reference, "src/doc/reference", "reference";
7171
Rustdoc, "src/doc/rustdoc", "rustdoc";
72+
RustByExample, "src/doc/rust-by-example", "rust-by-example";
7273
);
7374

7475
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]

src/doc/rust-by-example

Submodule rust-by-example added at 4ebb816

0 commit comments

Comments
 (0)