Skip to content

CI is bootstrapping rustc too many times on cross builds #44132

Closed
@alexcrichton

Description

@alexcrichton

I just looked at a recent build, specifically for dist-s390x-linux, which was taking much longer than expected! I specifically noticed that the compiler is getting bootstrapped more than I would have expected.

All we should be building is a stage0 x86_64, stage1 x86_64, and stage1 s390x. Instead though we also see:

  • Building stage2 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
  • Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> s390x-unknown-linux-gnu)

That's two whole extra compiler we shouldn't need!

Metadata

Metadata

Assignees

No one assigned

    Labels

    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