Skip to content

Run tests with compilter_builtins #88479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jethrogb opened this issue Aug 30, 2021 · 0 comments
Open

Run tests with compilter_builtins #88479

jethrogb opened this issue Aug 30, 2021 · 0 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@jethrogb
Copy link
Contributor

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:

@Dylan-DPC Dylan-DPC added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

2 participants