Skip to content

rustbuild: Both stage0 and stage1 std are rebuilt spuriously #68149

Closed
@petrochenkov

Description

@petrochenkov

I'm not sure when exactly it happens, but it reproduces roughly like this:

  • Rebase my working branch on upstream/master.
  • Run ./x.py test --stage 1 src/test/ui --test-args mytest, the build starts from stage0 std or later and succeeds.
  • Run ./x.py test --stage 1 src/test/ui --test-args mytest again, should be a trivial build, but the build starts from stage0 std or stage1 std again and succeeds.
  • Run ./x.py test --stage 1 src/test/ui --test-args mytest again, trivial build happens.

The target is x86_64-pc-windows-gnu.
The issue exists for several weeks, so it's a regression.
cc @Mark-Simulacrum

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions