Skip to content

x.py check --stage 1 silently just checks bootstrap (stage0) compiler #69337

Closed
@CAD97

Description

@CAD97

./x.py check --stage 1 does not build anything (yay, check without waiting for a build!), which means that it cannot actually be checking the stage1 (post-bootstrap) build, and is instead just silently checking the stage0 (bootstrap) build.

This would be most useful with ./x.py check --stage 1 --keep-stage 0, as this would keep this as a check-only build rather than requiring a build of stage 0. This unfortunately can't really be automatic, as changes to the compiler that necessitate a check run would prompt a rebuild of stage 0.

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