Skip to content
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

Explain stages in terms of the compiler currently running (take N+1) #857

Merged
merged 5 commits into from
Oct 4, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add section on build artifacts
  • Loading branch information
jyn514 committed Oct 1, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 6730eba52f9fbbda2ccf8a7bff24ad93f78622a8
12 changes: 12 additions & 0 deletions src/building/bootstrapping.md
Original file line number Diff line number Diff line change
@@ -134,6 +134,18 @@ The convention `x.py` uses is that:
- The "stage (N+1) compiler" is assembled from "stage N artifacts". This
process is called _uplifting_.

#### Build artifacts

Anything you can build with `x.py` is a build artifact.
jyn514 marked this conversation as resolved.
Show resolved Hide resolved
Build artifacts include, but are not limited to:

- binaries, like `stage0-rustc/rustc-main`
- shared objects, like `stage0-sysroot/rustlib/libstd-6fae108520cf72fe.so`
- [rlib] files, like `stage0-sysroot/rustlib/libstd-6fae108520cf72fe.rlib`
- HTML files generated by rustdoc, like `doc/std`

[rlib]: ../serialization.md

#### Examples

- `x.py build --stage 0` means to build with the beta `rustc`.