about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-06-19 19:43:03 -0700
committerGitHub <noreply@github.com>2020-06-19 19:43:03 -0700
commitd69d4c39ed76de7513082aaa50358e596adae4dd (patch)
tree29cec3510625132427e122cfd03e929220ed4f41
parent2377a50f42aa0b0bd73115ab2940ffaca61a41b4 (diff)
parent936ecadcec3dd9726e1ef89555f4a03fa2f27afe (diff)
downloadrust-d69d4c39ed76de7513082aaa50358e596adae4dd.tar.gz
rust-d69d4c39ed76de7513082aaa50358e596adae4dd.zip
Rollup merge of #73440 - jyn514:bootstrap/build-rustdoc, r=Mark-Simulacrum
Add src/librustdoc as an alias for src/tools/rustdoc

No one actually works with src/tools/rustdoc, it's almost empty.

Closes https://github.com/rust-lang/rust/issues/73439
-rw-r--r--src/bootstrap/tool.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/tool.rs b/src/bootstrap/tool.rs
index 9c95de0a81e..c92082a9423 100644
--- a/src/bootstrap/tool.rs
+++ b/src/bootstrap/tool.rs
@@ -481,7 +481,7 @@ impl Step for Rustdoc {
     const ONLY_HOSTS: bool = true;
 
     fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
-        run.path("src/tools/rustdoc")
+        run.path("src/tools/rustdoc").path("src/librustdoc")
     }
 
     fn make_run(run: RunConfig<'_>) {