@@ -79,7 +79,7 @@ recommend trying to build on a Raspberry Pi :P
7979
8080Building the compiler takes more than half an hour on my moderately powerful
8181laptop. The first time you build the compiler, LLVM will also be built unless
82- you use your system's LLVM ([ see below] [ configsec ] ).
82+ you use CI-built LLVM ([ see below] [ configsec ] ).
8383
8484[ configsec ] : #configuring-the-compiler
8585
@@ -123,17 +123,17 @@ The compiler has a configuration file which contains a ton of settings. We will
123123provide some recommendations here that should work for most, but [ check out
124124this chapter for more info] [ config ] .
125125
126- [ config ] : ./building/how-to-build-and-run.html #create-a-configtoml
126+ [ config ] : ./building/how-to-build-and-run.md #create-a-configtoml
127127
128128In the top level of the repo:
129129
130- ``` sh
130+ ``` console
131131$ x.py setup
132132```
133133
134134This will walk you through an interactive setup for x.py that looks like this:
135135
136- ```
136+ ``` console
137137$ x.py setup
138138Welcome to the Rust project! What do you want to do with x.py?
139139a) Contribute to the standard library
@@ -150,11 +150,15 @@ To get started, try one of the following commands:
150150For more suggestions, see https://rustc-dev-guide.rust-lang.org/building/suggested.html
151151```
152152
153- You may also want to set up [ system LLVM] [ sysllvm ] to avoid building LLVM from source.
153+ Note that by default, ` x.py setup ` will use CI-built LLVM if available for your
154+ platform so that you don't need to build LLVM in addition to building the
155+ compiler. In some circumstances, such as when updating the version of LLVM used
156+ by ` rustc ` , you may want to temporarily disable this feature. See the [ "Updating
157+ LLVM"] for more.
154158
155- [ sysllvm ] : ./building/suggested .html#skipping- llvm-build
159+ [ "Updating LLVM" ] : https://rustc-dev-guide.rust-lang.org/backend/updating-llvm .html?highlight=download-ci- llvm#feature-updates
156160
157- ### ` ./ x.py` Intro
161+ ### x.py Intro
158162
159163` rustc ` is a _ bootstrapping_ compiler, which means that it is written in Rust
160164and thus needs to be compiled by itself. So where do you
0 commit comments