@@ -139,15 +139,15 @@ similar to the one declared in section [What is `x.py`](#what-is-xpy), but
139139it works as an independent process to execute the ` x.py ` rather than calling the
140140shell to run the platform related scripts.
141141
142- ## Create a ` config .toml`
142+ ## Create a ` bootstrap .toml`
143143
144144To start, run ` ./x setup ` and select the ` compiler ` defaults. This will do some initialization
145- and create a ` config .toml` for you with reasonable defaults. If you use a different default (which
145+ and create a ` bootstrap .toml` for you with reasonable defaults. If you use a different default (which
146146you'll likely want to do if you want to contribute to an area of rust other than the compiler, such
147147as rustdoc), make sure to read information about that default (located in ` src/bootstrap/defaults ` )
148148as the build process may be different for other defaults.
149149
150- Alternatively, you can write ` config .toml` by hand. See ` config .example.toml` for all the available
150+ Alternatively, you can write ` bootstrap .toml` by hand. See ` bootstrap .example.toml` for all the available
151151settings and explanations of them. See ` src/bootstrap/defaults ` for common settings to change.
152152
153153If you have already built ` rustc ` and you change settings related to LLVM, then you may have to
@@ -186,7 +186,7 @@ See the chapters on
186186Note that building will require a relatively large amount of storage space.
187187You may want to have upwards of 10 or 15 gigabytes available to build the compiler.
188188
189- Once you've created a ` config .toml` , you are now ready to run
189+ Once you've created a ` bootstrap .toml` , you are now ready to run
190190` x ` . There are a lot of options here, but let's start with what is
191191probably the best "go to" command for building a local compiler:
192192
@@ -306,7 +306,7 @@ involve proc macros or build scripts, you must be sure to explicitly build targe
306306host platform (in this case, ` x86_64-unknown-linux-gnu ` ).
307307
308308If you want to always build for other targets without needing to pass flags to ` x build ` ,
309- you can configure this in the ` [build] ` section of your ` config .toml` like so:
309+ you can configure this in the ` [build] ` section of your ` bootstrap .toml` like so:
310310
311311``` toml
312312[build ]
@@ -316,8 +316,8 @@ target = ["x86_64-unknown-linux-gnu", "wasm32-wasip1"]
316316Note that building for some targets requires having external dependencies installed
317317(e.g. building musl targets requires a local copy of musl).
318318Any target-specific configuration (e.g. the path to a local copy of musl)
319- will need to be provided by your ` config .toml` .
320- Please see ` config .example.toml` for information on target-specific configuration keys.
319+ will need to be provided by your ` bootstrap .toml` .
320+ Please see ` bootstrap .example.toml` for information on target-specific configuration keys.
321321
322322For examples of the complete configuration necessary to build a target, please visit
323323[ the rustc book] ( https://doc.rust-lang.org/rustc/platform-support.html ) ,
0 commit comments