File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -161,12 +161,21 @@ git worktree add -b my-feature ../rust2 master
161
161
You can then use that rust2 folder as a separate workspace for modifying
162
162
and building ` rustc ` !
163
163
164
- ## Building with system LLVM
164
+ ## Skipping LLVM Build
165
165
166
- By default, LLVM is built from source, and that can take significant amount of
167
- time. An alternative is to use LLVM already installed on your computer.
166
+ By default, LLVM is built from source, and that takes significant amount of
167
+ time. One way to avoid that is to add this to ` config.toml ` :
168
168
169
- This is specified in the ` target ` section of ` config.toml ` :
169
+ ``` toml
170
+ [llvm ]
171
+ download-ci-llvm = true
172
+ ```
173
+
174
+ Downloading LLVM from CI is still experimental though, and might not be
175
+ available on all platforms. Otherwise, we'd make it a default!
176
+
177
+ Another alternative is to use LLVM already installed on your computer. This is
178
+ specified in the ` target ` section of ` config.toml ` :
170
179
171
180
``` toml
172
181
[target .x86_64-unknown-linux-gnu ]
You can’t perform that action at this time.
0 commit comments