@@ -159,15 +159,15 @@ similar to the one declared in section [What is `x.py`](#what-is-xpy), but
159159it works as an independent process to execute the ` x.py ` rather than calling the
160160shell to run the platform related scripts.
161161
162- ## Create a ` config .toml`
162+ ## Create a ` bootstrap .toml`
163163
164164To start, run ` ./x setup ` and select the ` compiler ` defaults. This will do some initialization
165- and create a ` config .toml` for you with reasonable defaults. If you use a different default (which
165+ and create a ` bootstrap .toml` for you with reasonable defaults. If you use a different default (which
166166you'll likely want to do if you want to contribute to an area of rust other than the compiler, such
167167as rustdoc), make sure to read information about that default (located in ` src/bootstrap/defaults ` )
168168as the build process may be different for other defaults.
169169
170- Alternatively, you can write ` config .toml` by hand. See ` config .example.toml` for all the available
170+ Alternatively, you can write ` bootstrap .toml` by hand. See ` bootstrap .example.toml` for all the available
171171settings and explanations of them. See ` src/bootstrap/defaults ` for common settings to change.
172172
173173If you have already built ` rustc ` and you change settings related to LLVM, then you may have to
@@ -206,7 +206,7 @@ See the chapters on
206206Note that building will require a relatively large amount of storage space.
207207You may want to have upwards of 10 or 15 gigabytes available to build the compiler.
208208
209- Once you've created a ` config .toml` , you are now ready to run
209+ Once you've created a ` bootstrap .toml` , you are now ready to run
210210` x ` . There are a lot of options here, but let's start with what is
211211probably the best "go to" command for building a local compiler:
212212
@@ -326,7 +326,7 @@ involve proc macros or build scripts, you must be sure to explicitly build targe
326326host platform (in this case, ` x86_64-unknown-linux-gnu ` ).
327327
328328If you want to always build for other targets without needing to pass flags to ` x build ` ,
329- you can configure this in the ` [build] ` section of your ` config .toml` like so:
329+ you can configure this in the ` [build] ` section of your ` bootstrap .toml` like so:
330330
331331``` toml
332332[build ]
@@ -336,8 +336,8 @@ target = ["x86_64-unknown-linux-gnu", "wasm32-wasip1"]
336336Note that building for some targets requires having external dependencies installed
337337(e.g. building musl targets requires a local copy of musl).
338338Any target-specific configuration (e.g. the path to a local copy of musl)
339- will need to be provided by your ` config .toml` .
340- Please see ` config .example.toml` for information on target-specific configuration keys.
339+ will need to be provided by your ` bootstrap .toml` .
340+ Please see ` bootstrap .example.toml` for information on target-specific configuration keys.
341341
342342For examples of the complete configuration necessary to build a target, please visit
343343[ the rustc book] ( https://doc.rust-lang.org/rustc/platform-support.html ) ,
0 commit comments