mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Add note about special make targets
This commit is contained in:
parent
7b7853897b
commit
720da310a9
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user