about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-10 12:09:56 +0100
committerGitHub <noreply@github.com>2022-02-10 12:09:56 +0100
commit584948d1be47178a10841e5d59dc0eecc8022ffe (patch)
treed87a1801474ab641cdcb9d3c739aa436efcb990a /config.toml.example
parent03332b0a212e56cc14ad5bd9aa7b26cad2f593fc (diff)
parent69cd826a85fe046ea102f3144f66b5b4b1b8accf (diff)
downloadrust-584948d1be47178a10841e5d59dc0eecc8022ffe.tar.gz
rust-584948d1be47178a10841e5d59dc0eecc8022ffe.zip
Rollup merge of #93756 - tmandry:llvm-build-config, r=Mark-Simulacrum
Support custom options for LLVM build

The LLVM build has a lot of options that rustbuild doesn't need to know about. We should allow the user to customize the LLVM build directly.

Here are some [example customizations][recipe] we'd like to do.

[recipe]: https://fuchsia.googlesource.com/infra/recipes/+/90105e5e4e37b0441c8dde538df54a55f79b3d22/recipes/contrib/clang_toolchain.py#579
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index 98688ca65b7..ad48cc881f3 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -157,6 +157,9 @@ changelog-seen = 2
 # Whether to build the clang compiler.
 #clang = false
 
+# Custom CMake defines to set when building LLVM.
+#build-config = {}
+
 # =============================================================================
 # General build configuration options
 # =============================================================================