Open
Description
Rust CI is currently not gated on running the std tests on any targets that rely on compiler_builtins/libm. See e.g. this test failure #85925 (comment). This makes some sense, since none of these targets are tier 1. However, these components are used in many tier 2/tier 3 targets. This issue is to somehow run the Rust test suite with compiler_builtins in CI.
Additional background: LLVM will insert calls to various functions as part of code generation. On e.g. Linux these functions are fulfilled by linking libc, libm, libgcc, etc. For platforms that don't have these functions natively (bare metal etc.), the Rust project has developed the compiler_builtins and libm crates.
This work has been sort of approved by the infra and libs-impl teams: