GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing rustc-dev-guide.rust-lang.org — Getting Started - Rust Compiler Development Guide Getting StartedThank you for your interest in contributing to Rust! There are many ways to contribute, and we appreciate all of them. For general information about how to contribute to Rust, see Forge. The rest of this section is about how to contribute to the compiler specifically. This documentation is not intended to be comprehensive; it is meant to be a quick guide for the most useful things. For more information, see How to build and run the compiler. Finding helpSee also “Asking Questions”. ExpertsNot all Another way to find experts for a given part of the compiler is to see who has made recent commits.
For example, to find people who have recently worked on name resolution since the 1.68.2 release,
you could run What should I work on?The Easy or mentored issuesIf you’re looking for somewhere to start, check out the following issue search. See the Triage for an explanation of these labels. You can also try filtering the search to areas you’re interested in. For example:
Not all important or beginner work has issue labels. See below for how to find work that isn’t labelled. Recurring workSome work is too large to be done by a single person. In this case, it’s common to have “Tracking issues” to co-ordinate the work between contributors. Here are some example tracking issues where it’s easy to pick up work without a large time commitment:
If you find more recurring work, please feel free to add it here! Diagnostic issuesMany diagnostic issues are self-contained and don’t need detailed background knowledge of the compiler. You can see a list of diagnostic issues here. Picking up abandoned pull requestsSometimes, contributors send a pull request, but later find out that they don’t have enough
time to work on it, or they simply are not interested in it anymore.
Such PRs are often eventually closed and they receive the If the PR has been implemented in some other way in the meantime, the Writing testsIssues that have been resolved but do not have a regression test are marked with the Contributing to std (standard library)See std-dev-guide. Other ways to contributeSee Forge. Cloning and BuildingSee “How to build and run the compiler”. Bug fixes or “normal” code changesFor most PRs, no special procedures are needed. You can just open a PR, and it will be reviewed, approved, and merged. This includes most bug fixes, refactorings, and other user-invisible changes. The next few sections talk about exceptions to this rule. Also, note that it is perfectly acceptable to open WIP PRs or GitHub Draft PRs. Some people prefer to do this so they can get feedback along the way or share their code with a collaborator. Others do this so they can utilize the CI to build and test their PR (e.g. when developing on a slow machine). Pull requestsPull requests (or PRs for short) are the primary mechanism we use to change Rust. GitHub itself has some great documentation on using the Pull Request feature. We use the “fork and pull” model, where contributors push changes to their personal fork and create pull requests to bring those changes into the source repository. We have a chapter on how to use Git when contributing to Rust.
Issue triagePlease see https://forge.rust-lang.org/release/issue-triaging.html. Other ResourcesThis section has moved to the “About this guide” chapter. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |