about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorMichael Bryan <michaelfbryan@gmail.com>2018-05-10 20:51:42 +0800
committerGitHub <noreply@github.com>2018-05-10 20:51:42 +0800
commit96ce6b69eb4b25288310ccb32c8f2a5f09d38f30 (patch)
tree25b54c9798305560b9beca1b95b9fd55929bb05b /src/doc
parent677b18084b4552558909d21bb9c7619832a3c471 (diff)
parentadd87abefc2d127d916126b27be19ab028ff8fd9 (diff)
downloadrust-96ce6b69eb4b25288310ccb32c8f2a5f09d38f30.tar.gz
rust-96ce6b69eb4b25288310ccb32c8f2a5f09d38f30.zip
Merge pull request #129 from rajcspsg/issue_84
Issue84 Add note about ./x.py build
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/how-to-build-and-run.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/how-to-build-and-run.md
index 493f642a5b2..66c73654824 100644
--- a/src/doc/rustc-dev-guide/src/how-to-build-and-run.md
+++ b/src/doc/rustc-dev-guide/src/how-to-build-and-run.md
@@ -75,6 +75,11 @@ internally. The result is the compiling `rustc` is done in stages.
 For hacking, often building the stage 1 compiler is enough, but for
 final testing and release, the stage 2 compiler is used.
 
+`./x.py check` is really fast to build the rust compiler. 
+It is, in particular, very useful when you're doing some kind of 
+"type-based refactoring", like renaming a method, or changing the 
+signature of some function.
+
 Once you've created a config.toml, you are now ready to run
 `x.py`. There are a lot of options here, but let's start with what is
 probably the best "go to" command for building a local rust: