docs: update contributing docs for submodule/subtree changes
This commit is contained in:
parent
b5741a36a8
commit
e749a38886
1 changed files with 9 additions and 0 deletions
|
@ -12,6 +12,15 @@ Documentation for contributing to the compiler or tooling is located in the [Gui
|
|||
Development][rustc-dev-guide], commonly known as the [rustc-dev-guide]. Documentation for the
|
||||
standard library in the [Standard library developers Guide][std-dev-guide], commonly known as the [std-dev-guide].
|
||||
|
||||
## Making changes to subtrees and submodules
|
||||
|
||||
For submodules, changes need to be made against the repository corresponding the
|
||||
submodule, and not the main `rust-lang/rust` repository.
|
||||
|
||||
For subtrees, prefer sending a PR against the subtree's repository if it does
|
||||
not need to be made against the main `rust-lang/rust` repostory (e.g. a
|
||||
rustc-dev-guide change that does not accompany a compiler change).
|
||||
|
||||
## About the [rustc-dev-guide]
|
||||
|
||||
The [rustc-dev-guide] is meant to help document how rustc –the Rust compiler– works,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue