about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2021-04-19 14:06:36 -0700
committerEric Huss <eric@huss.org>2021-04-19 14:06:36 -0700
commit0502bccde7a64626e6779ecc3a93f9a455e95b7d (patch)
tree870d49267b52c5672cf0a0ece539c0a11fb61819
parent1a6c98e4d6f6338dac2357b9433af8ef2a6ba320 (diff)
downloadrust-0502bccde7a64626e6779ecc3a93f9a455e95b7d.tar.gz
rust-0502bccde7a64626e6779ecc3a93f9a455e95b7d.zip
Remove comment about doc hack.
-rw-r--r--src/bootstrap/doc.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index dc96fd819d5..87f8cf160e0 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -461,15 +461,6 @@ impl Step for Std {
         // create correct links between crates because rustdoc depends on the
         // existence of the output directories to know if it should be a local
         // or remote link.
-        //
-        // There's also a mild hack here where we build the first crate in this
-        // list, core, twice. This is currently necessary to make sure that
-        // cargo's cached rustc/rustdoc versions are up to date which means
-        // cargo won't delete the out_dir we create for the stampfile.
-        // Essentially any crate could go into the first slot here as it's
-        // output directory will be deleted by us (as cargo will purge the stamp
-        // file during the first slot's run), and core is relatively fast to
-        // build so works OK to fill this 'dummy' slot.
         let krates = ["core", "alloc", "std", "proc_macro", "test"];
         for krate in &krates {
             run_cargo_rustdoc_for(krate);