rust-lang / rust-lang/rustc-dev-guide
Add mir-opt-level information
Open
Nobody has claimed this yet.
-Zdump-mir
-Zmir-opt-level
A-MIR
A-mir-opt
C-enhancement
E-hard
T-compiler
- Dominant language
- HTML
- Stars
- 1.9k
- Forks
- 613
- Avg merge
- 17h 24m
- Merged PRs (30d)
- 39
Description
Document how to dump mir with optimization by using mir-opt-level.
rustc +nightly -Zdump-mir=<val> -Zmir-opt-level=3
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
No documentation file or test is named. Start by finding the rustc-dev-guide section covering MIR dumps and review the example command rustc +nightly -Zdump-mir=<val> -Zmir-opt-level=3; done means the guide explains how mir-opt-level affects dumping MIR with optimization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100