Description
#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.