rust-lang / rust-lang/rustc_codegen_cranelift
Make generated clif ir more robust
Open
Nobody has claimed this yet.
C-enhancement
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 157
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 3
Description
This requires additional Cranelift features.
- Use real variadic function calls instead of faking them. (https://github.com/bytecodealliance/wasmtime/issues/1030)
TheAppleAArch64calling convention passes variadic arguments on the stack, unlike other calling conventions which handle them like regular arguments. - https://github.com/rust-lang/rustc_codegen_cranelift/issues/761
Contributor guide
No contributing guide indexed for this repository
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 reviewing the generated CLIF IR work described here and the linked Cranelift issue 1030, especially the AppleAArch64 variadic calling convention behavior. Check the related rustc_codegen_cranelift issue 761 for the completed prerequisite; done means replacing the fake variadic calls with real variadic calls and addressing the remaining checklist item.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100