Skip to content

changes to master should be gated on tier-1 compilers building libcore correctly for the targets they support #62933

Closed
@gnzlbg

Description

@gnzlbg

#62932 #62896 are regressions on tier-1 rustc nightly-x86_64-unknown-linux-gnu builds failing to build libcore for some of the targets that they are supposed to support cross-compiling to.

Changes to master should be gated on not introducing regressions here. Testing this is easy and takes very little CI time: once the toolchain has been build, just loop over all the targets that the rustc binary supports trying to build libcore with it. Building libcore for ~50 targets takes a couple of minutes.

The libc crate does that for stable and nightly toolchains here (build.sh). It might be possible to adapt that to rustc's CI.

Regressing on being able to build libcore for some target is not something that should land on beta, much less on stable Rust.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions