From 1f68820307c1b9f02a8ff2281b85c31d4f120241 Mon Sep 17 00:00:00 2001 From: Camelid Date: Fri, 26 Feb 2021 12:00:24 -0800 Subject: [PATCH] Document how to enable CI LLVM without using `x.py setup` --- src/getting-started.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/getting-started.md b/src/getting-started.md index 14795e08..18e429e5 100644 --- a/src/getting-started.md +++ b/src/getting-started.md @@ -156,6 +156,14 @@ compiler. In some circumstances, such as when updating the version of LLVM used by `rustc`, you may want to temporarily disable this feature. See the ["Updating LLVM" section] for more. +If you want to download LLVM from CI without running `x.py setup`, you can set +the `download-ci-llvm` option to `true` in your `config.toml`: + +```toml +[llvm] +download-ci-llvm = true +``` + ["Updating LLVM" section]: https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html?highlight=download-ci-llvm#feature-updates ### x.py Intro