CONTRIBUTING.md MARKDOWN 51 lines View on github.com → Search inside
1# Contributing to Rust23Thank you for your interest in contributing to Rust! There are many ways to contribute4and we appreciate all of them.56The best way to get started is by asking for help in the [#new7members](https://rust-lang.zulipchat.com/#narrow/stream/122652-new-members)8Zulip stream. We have a lot of documentation below on how to get started on your own, but9the Zulip stream is the best place to *ask* for help.1011Documentation for contributing to the compiler or tooling is located in the [Guide to Rustc12Development][rustc-dev-guide], commonly known as the [rustc-dev-guide]. Documentation for the13standard library is in the [Standard library developers Guide][std-dev-guide], commonly known as the [std-dev-guide].1415## Making changes to subtrees and submodules1617For submodules, changes need to be made against the repository corresponding to the18submodule, and not the main `rust-lang/rust` repository.1920For subtrees, prefer sending a PR against the subtree's repository if it does21not need to be made against the main `rust-lang/rust` repository (e.g. a22rustc-dev-guide change that does not accompany a compiler change).2324## About the [rustc-dev-guide]2526The [rustc-dev-guide] is meant to help document how rustc the Rust compiler works,27as well as to help new contributors get involved in rustc development. It is recommended28that you read and understand the [rustc-dev-guide] before making a contribution. This guide29talks about the different bots in the Rust ecosystem, the Rust development tools,30bootstrapping, the compiler architecture, source code representation, and more.3132## [Getting help](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions)3334There are many ways you can get help when you're stuck. Rust has two platforms for this:35[internals] and [rust-zulip]. It is recommended to ask for help on36the [rust-zulip], but any of these platforms are great ways to seek help and even37find a mentor! You can learn more about asking questions and getting help in the38[Asking Questions](https://rustc-dev-guide.rust-lang.org/getting-started.html#asking-questions) chapter of the [rustc-dev-guide].3940## Bug reports4142Did a compiler error message tell you to come here? If you want to create an ICE report,43refer to [this section][contributing-bug-reports] and [open an issue][issue template].4445[rustc-dev-guide]: https://rustc-dev-guide.rust-lang.org/46[std-dev-guide]: https://std-dev-guide.rust-lang.org/47[contributing-bug-reports]: https://rustc-dev-guide.rust-lang.org/contributing.html#bug-reports48[issue template]: https://github.com/rust-lang/rust/issues/new/choose49[internals]: https://internals.rust-lang.org50[rust-zulip]: https://rust-lang.zulipchat.com

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.