Merge pull request #129 from rajcspsg/issue_84

Issue84 Add note about ./x.py build
This commit is contained in:
Michael Bryan 2018-05-10 20:51:42 +08:00 committed by GitHub
commit 4fdc1b39fa
1 changed files with 5 additions and 0 deletions

View File

@ -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 For hacking, often building the stage 1 compiler is enough, but for
final testing and release, the stage 2 compiler is used. 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 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 `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: probably the best "go to" command for building a local rust: