Skip to content

running rustdoc-js-std tests does not rebuild rustdoc even if it is dirty #135590

@lolbinarycat

Description

@lolbinarycat

reproduction steps:

  1. ./x test -v tests/rustdoc-js-std/return-based-sort.js (or any other unit test in the folder, probably)
  2. make a change to search.js (one that impacts the result of the test will make it more obvious)
  3. ./x test -v tests/rustdoc-js-std/return-based-sort.js (again)

rustdoc will not get rebuilt.

i've run into this a few times before but i only now figured out what was happening (i think?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions