Skip to content

Run linkchecker just on some docs? #76762

@RalfJung

Description

@RalfJung

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 (tidy seems 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions