rustc-dev-guide icon indicating copy to clipboard operation
rustc-dev-guide copied to clipboard

A guide to how rustc works and how to contribute to it.

Results 282 rustc-dev-guide issues
Sort by recently updated
recently updated
newest added

Hi, I am working on a project that requires me to somehow modify AST (or I think that's the best option I have). Specifically, I would like to wrap/replace some...

In [Overview](https://github.com/rust-lang/rustc-dev-guide/blob/master/src/overview.md), you can see the link of `[High-Level Intermediate Representation (HIR)]` and `[Mid-level Intermediate Representation (MIR)]` in `HIR lowering` part and `MIR lowering` part separately. They are not matched....

generalization is a core - and subtle - part of type inference and currently not explained in the guide. We should change that. We should talk about equality in general,...

Implements https://github.com/rust-lang/compiler-team/issues/607. Sibling to https://github.com/rust-lang/rust/pull/110596 and https://github.com/rust-lang/stdarch/pull/1417. This PR renames the `wasm32-wasi` target to `wasm32-wasi-preview1`, in accordance to the accepted compiler team MCP.

blocked

I found other examples overwhelming, as they tend to handle large parts of rustc crates, so decided to point to these more simple ones I created.

A-diagnostics
A-translation
T-compiler
S-stale

The MIR Visitor document does not have the link to the LocalUseVisitor example that counts how many times each local is used. - "A very simple example of a visitor...

I feel like an "interner", "interned", "fold" and "adjustment" should be explained on the [Appendix B: Glossary](https://rustc-dev-guide.rust-lang.org/appendix/glossary.html) chapter, even more now, that the glossary is more important than ever because...

https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/.E2.9C.94.20How.20to.20get.20rust-analyzer.20in.20vscode.20for.20OOT.20rustc.20plugins/near/319659236

Easy
needs-writeup

In the [Creating a rustup toolchain section](https://github.com/rust-lang/rustc-dev-guide/blob/master/src/building/how-to-build-and-run.md#creating-a-rustup-toolchain), here is a part: > ... The first > one will run the stage1 compiler (which we built above). The second > will...

draw.io: https://www.drawio.com/ I used to do some notes using these kind of files, they are easy to use and their size is affordable. Since I haven't seen such graphs about...

T-compiler
A-compiler-architecture
A-visualizations
S-stale