about summary refs log tree commit diff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-07-06 18:06:30 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-07-06 18:06:30 -0400
commit8d94bbf106dfee6e722ac3896b7329bce1fd7120 (patch)
treeb26c92c46200b41ad7de4003bc8fbfc7100daa41 /CONTRIBUTING.md
parent3e62e20b61ca137c5d3d7f2bf64baecec04660e2 (diff)
parent720da310a92242290df5623bf3d5e2ea5f83e7f8 (diff)
downloadrust-8d94bbf106dfee6e722ac3896b7329bce1fd7120.tar.gz
rust-8d94bbf106dfee6e722ac3896b7329bce1fd7120.zip
Rollup merge of #26832 - steveklabnik:doc_rustc_cycle_time, r=huonw
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7bf144c7133..16113a32d24 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -83,6 +83,21 @@ feature. We use the 'fork and pull' model described there.
 
 Please make pull requests against the `master` branch.
 
+Compiling all of `make check` can take a while. When testing your pull request,
+consider using one of the more specialized `make` targets to cut down on the
+amount of time you have to wait. You need to have built the compiler at least
+once before running these will work, but that’s only one full build rather than
+one each time.
+
+    $ make -j8 rustc-stage1 && make check-stage1
+
+is one such example, which builds just `rustc`, and then runs the tests. If
+you’re adding something to the standard library, try
+
+    $ make -j8 check-stage1-std NO_REBUILD=1
+
+This will not rebuild the compiler, but will run the tests.
+
 All pull requests are reviewed by another person. We have a bot,
 @rust-highfive, that will automatically assign a random person to review your
 request.