Skip to content

Commit c8cdc0b

Browse files
Merge pull request #129 from rajcspsg/issue_84
Issue84 Add note about ./x.py build
2 parents 7d776f5 + 1cea261 commit c8cdc0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/how-to-build-and-run.md

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ internally. The result is the compiling `rustc` is done in stages.
7575
For hacking, often building the stage 1 compiler is enough, but for
7676
final testing and release, the stage 2 compiler is used.
7777

78+
`./x.py check` is really fast to build the rust compiler.
79+
It is, in particular, very useful when you're doing some kind of
80+
"type-based refactoring", like renaming a method, or changing the
81+
signature of some function.
82+
7883
Once you've created a config.toml, you are now ready to run
7984
`x.py`. There are a lot of options here, but let's start with what is
8085
probably the best "go to" command for building a local rust:

0 commit comments

Comments
 (0)