-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Run linkchecker just on some docs? #76762
Copy link
Copy link
Open
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Type
Fields
Give feedbackNo fields configured for issues without a type.
I once again had a CI run fail due to a bad rustdoc link, and figured I'd try running that linkchecker locally. So I ran
./x.py test linkchecker --test-args library/alloc, realized it was building a full rustc (tidyseems to overwrite that default so maybe the linkchecker should, too? that sounds like #76371), added--stage 0, and still had to wait quite a bit while it built rustbook and "unstable-book-gen" and whatnot, none of which is needed to ensure that the liballoc docs do not have bad links. And then it still built a full rustc so I stopped, I guess I will have to rely on CI for this.Is there any way to runst linkcheker on the docs for library/alloc without building rustc?