Skip to content

Commit 61f6cfb

Browse files
authored
Rollup merge of #84345 - ehuss:remove-core-core-comment, r=Mark-Simulacrum
Remove comment about doc hack. I neglected to remove this comment in #83955.
2 parents 5cc3994 + 0502bcc commit 61f6cfb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/bootstrap/doc.rs

-9
Original file line numberDiff line numberDiff line change
@@ -461,15 +461,6 @@ impl Step for Std {
461461
// create correct links between crates because rustdoc depends on the
462462
// existence of the output directories to know if it should be a local
463463
// or remote link.
464-
//
465-
// There's also a mild hack here where we build the first crate in this
466-
// list, core, twice. This is currently necessary to make sure that
467-
// cargo's cached rustc/rustdoc versions are up to date which means
468-
// cargo won't delete the out_dir we create for the stampfile.
469-
// Essentially any crate could go into the first slot here as it's
470-
// output directory will be deleted by us (as cargo will purge the stamp
471-
// file during the first slot's run), and core is relatively fast to
472-
// build so works OK to fill this 'dummy' slot.
473464
let krates = ["core", "alloc", "std", "proc_macro", "test"];
474465
for krate in &krates {
475466
run_cargo_rustdoc_for(krate);

0 commit comments

Comments
 (0)