From 5fe399e27f0a2d7ccb26feb42fab398836bb6795 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Mon, 12 Sep 2022 18:46:47 -0500 Subject: [PATCH] fix typos and formatting Co-authored-by: Yuki Okushi --- src/building/bootstrapping.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/building/bootstrapping.md b/src/building/bootstrapping.md index f2fe8caf..3bacc21d 100644 --- a/src/building/bootstrapping.md +++ b/src/building/bootstrapping.md @@ -373,7 +373,7 @@ You can find more discussion about sysroots in: ## Passing flags to commands invoked by `bootstrap` `x.py` allows you to pass stage-specific flags to `rustc` and `cargo` when bootstrapping. -The `RUSTFLAGS_BOOTSTRAP` environment variable is passed as RUSTFLAGS to the bootstrap stage +The `RUSTFLAGS_BOOTSTRAP` environment variable is passed as `RUSTFLAGS` to the bootstrap stage (stage0), and `RUSTFLAGS_NOT_BOOTSTRAP` is passed when building artifacts for later stages. `RUSTFLAGS` will work, but also affects the build of `bootstrap` itself, so it will be rare to want to use it. @@ -384,7 +384,7 @@ recompiling all dependencies. `RUSTFLAGS`, but for rustdoc. `CARGOFLAGS` will pass arguments to cargo itself (e.g. `--timings`). `CARGOFLAGS_BOOTSTRAP` and -`CARGOFLAGS_NOT_BOOTSTRAP` work anologously to `RUSTFLAGS_BOOTSTRAP`. +`CARGOFLAGS_NOT_BOOTSTRAP` work analogously to `RUSTFLAGS_BOOTSTRAP`. `--test-args` will pass arguments through to the test runner. For `src/test/ui`, this is compiletest; for unit tests and doctests this is the `libtest` runner. Most test runner accept