X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=CONTRIBUTING.md;h=4c296a28e90b4a2f8e19b8e6bfefe5a61040feef;hb=578016b8b55004f34292bc75373ee5be35654f7f;hp=0f6cba7a95e79a7010f432c415090d278b779018;hpb=790604adad9fd02b92c59d1f937edb902a58b036;p=rust.git diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0f6cba7a95e..4c296a28e90 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -360,8 +360,10 @@ git add path/to/submodule outside the submodule. -It can also be more convenient during development to set `submodules = false` -in the `config.toml` to prevent `x.py` from resetting to the original branch. +In order to prepare your PR, you can run the build locally by doing +`./x.py build src/tools/TOOL`. If you will be editing the sources +there, you may wish to set `submodules = false` in the `config.toml` +to prevent `x.py` from resetting to the original branch. #### Breaking Tools Built With The Compiler [breaking-tools-built-with-the-compiler]: #breaking-tools-built-with-the-compiler