about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorGabriel de Perthuis <g2p.code@gmail.com>2020-11-24 12:20:16 +0100
committerJoshua Nelson <joshua@yottadb.com>2020-11-24 09:06:33 -0500
commitbaf801c294e09b1ce809307c7d3beeeb0e88fcf1 (patch)
treea73ebf044bf5f18124053f80e14454d43511fa2f /src/doc/rustc-dev-guide
parent805527920933667cf40e894b786962189f616fef (diff)
downloadrust-baf801c294e09b1ce809307c7d3beeeb0e88fcf1.tar.gz
rust-baf801c294e09b1ce809307c7d3beeeb0e88fcf1.zip
Update bootstrap documentation with the new envvars for RUSTFLAGS
This follows <https://github.com/rust-lang/rust/pull/63722>.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/bootstrapping.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/bootstrapping.md b/src/doc/rustc-dev-guide/src/building/bootstrapping.md
index 2da4d2e467e..0921755a065 100644
--- a/src/doc/rustc-dev-guide/src/building/bootstrapping.md
+++ b/src/doc/rustc-dev-guide/src/building/bootstrapping.md
@@ -309,12 +309,8 @@ The following tables indicate the outputs of various stage actions:
 ## Passing stage-specific flags to `rustc`
 
 `x.py` allows you to pass stage-specific flags to `rustc` when bootstrapping.
-The `RUSTFLAGS_STAGE_0`, `RUSTFLAGS_STAGE_1` and `RUSTFLAGS_STAGE_2`
-environment variables pass the given flags when building stage 0, 1, and 2
-artifacts respectively.
-
-Additionally, the `RUSTFLAGS_STAGE_NOT_0` variable, as its name suggests, passes
-the given arguments if the stage is not 0.
+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.
 
 ## Environment Variables