Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
rustc-dev-guideThe rustc-dev-guide working group is responsible for maintaining the rustc-dev-guide (located at rust-lang/rustc-dev-guide). This includes things such as:
The dev guide has a much lower bar for changes to merged compared to the compiler itself. Incomplete and/or WIP documentation is preferred over no documentation. Stubbed out TODOs with issues tracking the missing pieces for sub-parts of chapters are useful to indicate known gaps in documentation that may otherwise leave the reader confused.
Contributors confident in the area being documented should also feel free to merge their own documentation without review. For this reason the dev guide does not have a reviewer automatically assigned to each PR, instead PR authors can manually request a PR reviewer if they believe it necessary.
A reviewer can be assigned by writing a comment containing: r? rustc-dev-guide
or r? @username
.
A good rule of thumb for whether you should feel comfortable merging your own rustc-dev-guide PR is whether you would feel comfortable approving an involved PR touching the relevant area of the compiler. See the compiler review policy.
Where to contributerustc-dev-guide
changes
If your change only involves the documentation content of rustc-dev-guide and does not accompany rust-lang/rust
code changes, please submit your changes and PRs directly to the rust-lang/rustc-dev-guide repository.
There are some benefits following this rule:
rustc-dev-guide
repo can be immediately reflected in the live rustc-dev-guide.rustc-dev-guide
repo do not need to go through bors CI in rust-lang/rust
.rust-lang/rust
.The dev guide is a josh subtree of the main rust-lang/rust repo. This makes it easier for compiler contributors to update documentation in the dev guide in tandem with changes to the compiler itself.
This necessitates a manual process of syncing any changes made to the dev guide between its own repo, and the copy maintained in the rust-lang/rust repo.
Documentation about how to perform a rustc-pull or rustc-push can be found in the dev guide’s README.
If the automatically opened rustc-pull doesn’t contain any actual changes to the dev guide, then the subtree sync can be delayed until there are actual changes to sync. ↩
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4