summary refs log tree commit diff
path: root/bootstrap.example.toml
diff options
context:
space:
mode:
authorStypox <stypox@pm.me>2025-06-11 21:50:21 +0200
committerStypox <stypox@pm.me>2025-06-11 21:50:21 +0200
commit8dac423f827611ae3090078cdb2b3f54b677d8eb (patch)
tree650ff66e660419e53277213e0ef6cdfe1a634739 /bootstrap.example.toml
parent2b0274c71dba0e24370ebf65593da450e2e91868 (diff)
downloadrust-8dac423f827611ae3090078cdb2b3f54b677d8eb.tar.gz
rust-8dac423f827611ae3090078cdb2b3f54b677d8eb.zip
Add bootstrap option to compile a tool with features
Diffstat (limited to 'bootstrap.example.toml')
-rw-r--r--bootstrap.example.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/bootstrap.example.toml b/bootstrap.example.toml
index 1371fd6442f..17044816c01 100644
--- a/bootstrap.example.toml
+++ b/bootstrap.example.toml
@@ -381,6 +381,14 @@
 #    "miri", "cargo-miri" # for dev/nightly channels
 #]
 
+# Specify build configuration specific for some tool, such as enabled features.
+#
+# For example, to build Miri with tracing support, use `tool-config.miri.features = ["tracing"]`
+#
+# The default value for the `features` array is `[]`. However, please note that other flags in
+# `bootstrap.toml` might influence the features enabled for some tools.
+#tool-config.TOOL_NAME.features = [FEATURE1, FEATURE2]
+
 # Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose, 3 == print environment variables on each rustc invocation
 #verbose = 0