@@ -139,15 +139,15 @@ similar to the one declared in section [What is `x.py`](#what-is-xpy), but
139
139
it works as an independent process to execute the ` x.py ` rather than calling the
140
140
shell to run the platform related scripts.
141
141
142
- ## Create a ` config .toml`
142
+ ## Create a ` bootstrap .toml`
143
143
144
144
To 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
146
146
you'll likely want to do if you want to contribute to an area of rust other than the compiler, such
147
147
as rustdoc), make sure to read information about that default (located in ` src/bootstrap/defaults ` )
148
148
as the build process may be different for other defaults.
149
149
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
151
151
settings and explanations of them. See ` src/bootstrap/defaults ` for common settings to change.
152
152
153
153
If 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
186
186
Note that building will require a relatively large amount of storage space.
187
187
You may want to have upwards of 10 or 15 gigabytes available to build the compiler.
188
188
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
190
190
` x ` . There are a lot of options here, but let's start with what is
191
191
probably the best "go to" command for building a local compiler:
192
192
@@ -306,7 +306,7 @@ involve proc macros or build scripts, you must be sure to explicitly build targe
306
306
host platform (in this case, ` x86_64-unknown-linux-gnu ` ).
307
307
308
308
If 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:
310
310
311
311
``` toml
312
312
[build ]
@@ -316,8 +316,8 @@ target = ["x86_64-unknown-linux-gnu", "wasm32-wasip1"]
316
316
Note that building for some targets requires having external dependencies installed
317
317
(e.g. building musl targets requires a local copy of musl).
318
318
Any 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.
321
321
322
322
For examples of the complete configuration necessary to build a target, please visit
323
323
[ the rustc book] ( https://doc.rust-lang.org/rustc/platform-support.html ) ,
0 commit comments