Skip to content

Note guide for new contributors

Brian Anderson edited this page Feb 5, 2014 · 26 revisions

You want to contribute to Rust? Frankly, you've made an excellent decision. Rust is developed by a small and inclusive community that takes very kindly to strangers. You are going to have a good time.

The way many people seem to get involved is by simply trying to write Rust code. Inevitably they hit a bug or missing feature, at which point they are compelled to write a patch.

We coordinate through email, IRC, and the GitHub issue tracker.

Hacking on Rust

Before hacking, read some tips on getting started and the development policy. The Notes section on the wiki contains general wisdom about the code base from other developers.

Picking something to do

The simplest way is to look through the issue tracker for issues labeled with "E-easy", "I-enhancement", "I-wishlist", and/or "A-an-interesting-project". Unassigned bugs are always fair game. Assigned bugs that don't seem to be getting worked on actively can be fair game, but always check with the bug owner first in that case.

Outstanding bugs or feature requests in Rust often have a corresponding test in the test suite that doesn't yet pass. One good way to jump into Rust development is to look for files in the test/run-pass directory containing the string xfail-test. Those tests all correspond to bugs that need to be fixed, features that someone needs to finish, or sometimes tests that need deleting.

The source is also littered with hundreds of comments marked with 'FIXME' and 'XXX'. In Rust, FIXME comments come with an issue number; sometimes these refer to issues that may be resolved easily.

Another easy way to get involved is to participate in bug triage. Every week we send out lists of bugs to contributors along with instructions on how to move them forward. If you would like to participate email Brian at [email protected].

Oh, hey, it's more contribution ideas.

If in doubt, ask on IRC. Somebody will surely have a task that needs to be done.

Ideas for newbies

  • Adopt a module in std and ensure all doc comments are provided, accurate, complete and follow the style guidelines.
  • Adopt a module and write unit tests for each feature. Bonus points for writing one that triggers a bug and reporting it.
  • Examine the runtime library of language Xyz and build a table comparing features with Rust, identifying missing features.
  • Proofread the tutorial, ensuring it works as described with the relevant release of the compiler.

Reddit has more ideas still.

All Categories:

Clone this wiki locally