Skip to content

Commit 290ecb9

Browse files
jyn514JohnTitor
andcommitted
fix typos and formatting
Co-authored-by: Yuki Okushi <[email protected]>
1 parent a605591 commit 290ecb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/building/bootstrapping.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ You can find more discussion about sysroots in:
373373
## Passing flags to commands invoked by `bootstrap`
374374

375375
`x.py` allows you to pass stage-specific flags to `rustc` and `cargo` when bootstrapping.
376-
The `RUSTFLAGS_BOOTSTRAP` environment variable is passed as RUSTFLAGS to the bootstrap stage
376+
The `RUSTFLAGS_BOOTSTRAP` environment variable is passed as `RUSTFLAGS` to the bootstrap stage
377377
(stage0), and `RUSTFLAGS_NOT_BOOTSTRAP` is passed when building artifacts for later stages.
378378
`RUSTFLAGS` will work, but also affects the build of `bootstrap` itself, so it will be rare to want
379379
to use it.
@@ -384,7 +384,7 @@ recompiling all dependencies.
384384
`RUSTFLAGS`, but for rustdoc.
385385

386386
`CARGOFLAGS` will pass arguments to cargo itself (e.g. `--timings`). `CARGOFLAGS_BOOTSTRAP` and
387-
`CARGOFLAGS_NOT_BOOTSTRAP` work anologously to `RUSTFLAGS_BOOTSTRAP`.
387+
`CARGOFLAGS_NOT_BOOTSTRAP` work analogously to `RUSTFLAGS_BOOTSTRAP`.
388388

389389
`--test-args` will pass arguments through to the test runner. For `src/test/ui`, this is
390390
compiletest; for unit tests and doctests this is the `libtest` runner. Most test runner accept

0 commit comments

Comments
 (0)