rust-lang / rust-lang/rustc_codegen_gcc
Better data handling
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
- Don't export non-public statics
- Don't export anonymous allocations (https://github.com/rust-lang/rustc_codegen_gcc/pull/133)
- Mark allocations as read-only if they are read-only
These will likely improve the binary size and will help with optimizations.
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 with the remaining checklist item, “Don't export non-public statics,” and review the completed allocation work linked to pull request 133 for context. Identify the existing export and static-handling paths, then verify that non-public statics are no longer exported and that the binary-size or optimization goals are preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100