Skip to content

Commit 541976f

Browse files
authored
Clarify that check uses a different stage than build (rust-lang#999)
1 parent 148742b commit 541976f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/building/bootstrapping.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,21 @@ the `stage1` compiler: `x.py build library/std`.
6262
`x.py` tries to be helpful and pick the stage you most likely meant for each subcommand.
6363
These defaults are as follows:
6464

65+
- `check`: `--stage 0`
6566
- `doc`: `--stage 0`
6667
- `build`: `--stage 1`
6768
- `test`: `--stage 1`
6869
- `dist`: `--stage 2`
6970
- `install`: `--stage 2`
7071
- `bench`: `--stage 2`
7172

72-
You can always override the stage by passing `--stage N` explicitly.
73+
You can always override the stage by passing `--stage N` explicitly, except for `check`,
74+
which is [hard-coded to stage 0][stage1-check].
7375

7476
For more information about stages, [see below](#understanding-stages-of-bootstrap).
7577

78+
[stage1-check]: https://github.com/rust-lang/rust/issues/46955
79+
7680
## Complications of bootstrapping
7781

7882
Since the build system uses the current beta compiler to build the stage-1

0 commit comments

Comments
 (0)