@@ -21,18 +21,6 @@ git clone https://github.com/rust-lang/rust.git
21
21
cd rust
22
22
```
23
23
24
- ## Create a ` config.toml `
25
-
26
- To start, run ` ./x.py setup ` . This will do some initialization and create a
27
- ` config.toml ` for you with reasonable defaults.
28
-
29
- Alternatively, you can write ` config.toml ` by hand. See ` config.toml.example `
30
- for all the available settings and explanations of them. See ` src/bootstrap/defaults ` for common settings to change.
31
-
32
- If you have already built ` rustc ` and you change settings related to LLVM, then you may have to
33
- execute ` rm -rf build ` for subsequent configuration changes to take effect. Note that `./x.py
34
- clean` will not cause a rebuild of LLVM.
35
-
36
24
## What is ` x.py ` ?
37
25
38
26
` x.py ` is the build tool for the ` rust ` repository. It can build docs, run tests, and compile the
@@ -51,6 +39,18 @@ of a checkout. It also looks up the appropriate version of `python` to use.
51
39
52
40
You can install it with ` cargo install --path src/tools/x ` .
53
41
42
+ ## Create a ` config.toml `
43
+
44
+ To start, run ` ./x.py setup ` . This will do some initialization and create a
45
+ ` config.toml ` for you with reasonable defaults.
46
+
47
+ Alternatively, you can write ` config.toml ` by hand. See ` config.toml.example `
48
+ for all the available settings and explanations of them. See ` src/bootstrap/defaults ` for common settings to change.
49
+
50
+ If you have already built ` rustc ` and you change settings related to LLVM, then you may have to
51
+ execute ` rm -rf build ` for subsequent configuration changes to take effect. Note that `./x.py
52
+ clean` will not cause a rebuild of LLVM.
53
+
54
54
## Building the Compiler
55
55
56
56
Note that building will require a relatively large amount of storage space.
0 commit comments