Skip to content

Commit

Permalink
Rollup merge of rust-lang#84345 - ehuss:remove-core-core-comment, r=M…
Browse files Browse the repository at this point in the history
…ark-Simulacrum

Remove comment about doc hack.

I neglected to remove this comment in rust-lang#83955.
  • Loading branch information
Dylan-DPC authored Apr 20, 2021
2 parents 5cc3994 + 0502bcc commit 61f6cfb
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 61f6cfb

Please sign in to comment.