Skip to content

clean up and unify logic used by rustdoc-js and rustdoc-js-std test suites. #135597

@lolbinarycat

Description

@lolbinarycat

I cannot find the code that actually runs rustdoc on the rustdoc-js/*.rs files, and for some unknown reason, that code is not actually getting run (leading to issues about search-index.js not being found).

This code is quite a mess, rustdoc-js-std seems to be mostly implemented in bootstrap, while rustdoc-js is mostly implemented in compiletest.

This discrepancy leads to an ever increasing number of discrepancies between the exact behavior of the two test suites. Rather than trying to patch these up one by one, I would rather we take a big picture approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions