diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-09-07 11:15:17 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-09-11 12:02:58 -0400 |
| commit | 8ca5450de8ceced9e429df34f6d9adcbf24f2c87 (patch) | |
| tree | babf2c08427f3d9b2667456c234a5eaa11d474ae /src/doc/rustc-dev-guide | |
| parent | 2a45a09a18dc4e131e8764d8a8971e3696e89158 (diff) | |
| download | rust-8ca5450de8ceced9e429df34f6d9adcbf24f2c87.tar.gz rust-8ca5450de8ceced9e429df34f6d9adcbf24f2c87.zip | |
fix some more typos
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/how-to-build-and-run.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/how-to-build-and-run.md index 2285b268535..17c883ffc80 100644 --- a/src/doc/rustc-dev-guide/src/how-to-build-and-run.md +++ b/src/doc/rustc-dev-guide/src/how-to-build-and-run.md @@ -209,13 +209,14 @@ The sequence of commands you want is as follows: - Subsequent builds: `./x.py build -i --stage 1 src/libstd --keep-stage 1` - Note that we added the `--keep-stage 1` flag here -The effect of `--keep-stage1` is that we just *assume* that the old +The effect of `--keep-stage 1` is that we just *assume* that the old standard library can be re-used. If you are editing the compiler, this is almost always true: you haven't changed the standard library, after all. But sometimes, it's not true: for example, if you are editing the "metadata" part of the compiler, which controls how the compiler -encodes types and other states into the `rlib` files, or if you are editing -things that wind up in the metadata (such as the definition of the MIR). +encodes types and other states into the `rlib` files, or if you are +editing things that wind up in the metadata (such as the definition of +the MIR). **The TL;DR is that you might get weird behavior from a compile when using `--keep-stage 1`** -- for example, strange [ICEs](appendix/glossary.html) or other |
