rust-lang / rust-lang/rustc_codegen_gcc
Handle pointee_align
Open
Nobody has claimed this yet.
enhancement
good first issue
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
I noticed we don't handle pointee_align.
To implement this, look for pointee_align in cg_llvm and implement the same logic in cg_gcc.
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 by locating pointee_align in the cg_llvm implementation and compare it with the corresponding codegen paths in cg_gcc. Use the referenced rustc_target/src/callconv/mod.rs definition to understand the field. Done means cg_gcc applies the same pointee_align handling as cg_llvm.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100