Skip to content

bootstrap: ./x.py test mir-opt dirties build cache for standard library #128493

Closed as duplicate of#131437
@RalfJung

Description

@RalfJung

To reproduce:

./x.py test ui -- mir
# The next command should not have to build a new standard library,
# since it was already built. And yet, a rebuild happens.
./x.py test mir-opt
# Another rebuild happens here
./x.py test ui -- mir

Cc @saethlin this may be related to the special hacks the mir-opt test suite uses for standard libraries for other targets.

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