rust-lang / rust-lang/rustc-dev-guide
Create examples of using rustc for common tasks
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.9k
- Forks
- 613
- Avg merge
- 17h 24m
- Merged PRs (30d)
- 39
Description
- Converting between IDs (HirIds, DefIds, LocalDefIds)
- Accessing the AST/HIR/MIR of a program
It turns out we have some examples already in https://github.com/rust-lang/rustc-dev-guide/blob/master/examples/, we should expand those and make them more prominent.
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 existing examples in the rustc-dev-guide examples/ directory. Identify how the current material covers converting HirIds, DefIds, and LocalDefIds and accessing AST, HIR, and MIR, then expand the examples and make them more prominent in the guide. Done means these common rustc tasks have clear, discoverable examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100