Tracking issue for MCP 976: Add -Z dead-fn-elimination to skip codegen of BFS-unreachable functions
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
This is a tracking issue for MCP "Add -Z dead-fn-elimination to skip codegen of BFS-unreachable functions" (rust-lang/compiler-team#976).
[!NOTE]
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.A tracking issue is however not meant for large scale discussion, questions, or bug reports.
Instead, open a dedicated issue for the specific matter, link to this tracking issue and ping the MCP author.
Alternatively, post in the Zulip stream linked from the MCP.Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Implement the MCP
- Adjust the documentation
- In the Rust Compiler Development Guide if applicable (e.g., for refactorings)
- In the Rust Forge if applicable (e.g., for policy changes)
- In the rustc book if applicable (e.g., for target tier or CLI changes)
- In the Unstable Book if applicable (e.g., for unstable CLI changes)
Unresolved questions
None so far.
Implementation history
Empty so far.
@yijunyu, consider @rustbot claim'ing the work.
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 MCP in rust-lang/compiler-team#976, then review this tracking issue's implementation and documentation checklist. The work is complete when the MCP is implemented and applicable guidance is updated in the Rust Compiler Development Guide, Rust Forge, rustc book, or Unstable Book.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100