Skip to content
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

Parse target triples #1413

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

madsmtm
Copy link
Collaborator

@madsmtm madsmtm commented Feb 24, 2025

Parse target triples instead of using a pre-generated list. Allows target triples like those used by certain Linux distributions, even when compiling outside build.rs.

Fixes #1297.
Fixes #1317.
Fixes #1405.
Fixes #1407.

Still WIP, this is as far as I got today. The target parsing is complete, feel free to review that, but the LLVM triple construction isn't yet (I need to figure out which parts should be fixed in rustc, and which parts cc-rs needs to handle specially).

@madsmtm madsmtm added the bug label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant