rust-lang / rust-lang/rustc_codegen_gcc
Complete the mapping from LLVM arch to GCC arch
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
LLVM uses different values for the -march flag compared to GCC, so we need a mapping between the two.
This issue is about completing this mapping.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/gcc_util.rs around lines 201-206, where the LLVM-to-GCC architecture mapping is located. Compare the existing mapping with the architecture values supported by LLVM and GCC, then complete the missing entries. Done means the mapping covers the required differing -march values; review the issue thread for any prior discussion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100