]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/doc.rs
Auto merge of #38858 - ollie27:rustbuild_docs_std, r=alexcrichton
[rust.git] / src / bootstrap / doc.rs
index 5213b695216f268236ce934f01a5a0af99c916be..2b063741c07401c83038f5c7ac351b25c49a6639 100644 (file)
@@ -57,12 +57,12 @@ pub fn rustbook(build: &Build, target: &str, name: &str) {
 /// `STAMP` alongw ith providing the various header/footer HTML we've cutomized.
 ///
 /// In the end, this is just a glorified wrapper around rustdoc!
-pub fn standalone(build: &Build, stage: u32, target: &str) {
-    println!("Documenting stage{} standalone ({})", stage, target);
+pub fn standalone(build: &Build, target: &str) {
+    println!("Documenting standalone ({})", target);
     let out = build.doc_out(target);
     t!(fs::create_dir_all(&out));
 
-    let compiler = Compiler::new(stage, &build.config.build);
+    let compiler = Compiler::new(0, &build.config.build);
 
     let favicon = build.src.join("src/doc/favicon.inc");
     let footer = build.src.join("src/doc/footer.inc");