-
Notifications
You must be signed in to change notification settings - Fork 543
how to build and run compiler, first shot #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/how-to-build-and-run.md
Outdated
Then you will want to open up the file and change the following | ||
settings (and possibly others, such as `llvm.ccache`): | ||
|
||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: This could be ```toml
src/how-to-build-and-run.md
Outdated
probably the best "go to" command for building a local rust: | ||
|
||
``` | ||
./x.py build --incremental --stage 1 src/libstd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would use the short form -i
instead of --incremental
here 😄
src/how-to-build-and-run.md
Outdated
|
||
- Build stage1 rustc with stage0 compiler | ||
- Build libstd with stage1 compiler (up to here is the same) | ||
- Build stage2 rustc with stage1 compiler (this part is new) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe explain what is stage2? previously you did explain stage1.
src/how-to-build-and-run.md
Outdated
resulting rustc, we recommend creating rustup toolchains. The first | ||
one will run the stage1 compiler (which we built above). The second | ||
will execute the stage2 compiler (which we did not build, but which | ||
you will likely build at some point). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why you will likely build it?. Maybe explain that 😄
OK, fixed a few nits, gonna land. |
Fixes #8