summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <github@jyn.dev>2022-09-12 18:46:47 -0500
committerJoshua Nelson <github@jyn.dev>2022-09-12 18:48:21 -0500
commit1014188ca3b64025c4b67cee4c0e9fb3ad2a46e8 (patch)
treec77ac7f0a95e67375ae476ade57b7d4818772d2c /src/doc/rustc-dev-guide
parent74e219ba5e3083181f0f742e1e1ec80a7b842b8e (diff)
downloadrust-1014188ca3b64025c4b67cee4c0e9fb3ad2a46e8.tar.gz
rust-1014188ca3b64025c4b67cee4c0e9fb3ad2a46e8.zip
fix typos and formatting
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/bootstrapping.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/bootstrapping.md b/src/doc/rustc-dev-guide/src/building/bootstrapping.md
index f2fe8caf9ed..3bacc21d35b 100644
--- a/src/doc/rustc-dev-guide/src/building/bootstrapping.md
+++ b/src/doc/rustc-dev-guide/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