about summary refs log tree commit diff
path: root/src/bootstrap/test.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-04 18:17:14 +0000
committerbors <bors@rust-lang.org>2020-04-04 18:17:14 +0000
commit853c4774e26ea97b45fe74de9a6f68e526784323 (patch)
treeb761ab3637064129275773dc736f8786a57ae89c /src/bootstrap/test.rs
parentcff07db629d7522a0ae4e05865f66f3186e70970 (diff)
parentdcf70044de3fdbad55c498db8a59173f9d360ff8 (diff)
downloadrust-853c4774e26ea97b45fe74de9a6f68e526784323.tar.gz
rust-853c4774e26ea97b45fe74de9a6f68e526784323.zip
Auto merge of #69898 - spastorino:rename-rustc-guide2, r=Xanewok
Move rustc-guide submodule to rustc-dev-guide

r? @pietroalbini
Diffstat (limited to 'src/bootstrap/test.rs')
-rw-r--r--src/bootstrap/test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 2499856235f..0bf507f9ebb 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1532,7 +1532,7 @@ impl Step for RustcGuide {
     const ONLY_HOSTS: bool = true;
 
     fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
-        run.path("src/doc/rustc-guide")
+        run.path("src/doc/rustc-dev-guide")
     }
 
     fn make_run(run: RunConfig<'_>) {
@@ -1540,14 +1540,14 @@ impl Step for RustcGuide {
     }
 
     fn run(self, builder: &Builder<'_>) {
-        let src = builder.src.join("src/doc/rustc-guide");
+        let src = builder.src.join("src/doc/rustc-dev-guide");
         let mut rustbook_cmd = builder.tool_cmd(Tool::Rustbook);
         let toolstate = if try_run(builder, rustbook_cmd.arg("linkcheck").arg(&src)) {
             ToolState::TestPass
         } else {
             ToolState::TestFail
         };
-        builder.save_toolstate("rustc-guide", toolstate);
+        builder.save_toolstate("rustc-dev-guide", toolstate);
     }
 }