summaryrefslogtreecommitdiffstats
path: root/src/bootstrap/defaults/config.dist.toml
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/defaults/config.dist.toml')
-rw-r--r--src/bootstrap/defaults/config.dist.toml22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/config.dist.toml b/src/bootstrap/defaults/config.dist.toml
new file mode 100644
index 000000000..44efdf50b
--- /dev/null
+++ b/src/bootstrap/defaults/config.dist.toml
@@ -0,0 +1,22 @@
+# These defaults are meant for users and distro maintainers building from source, without intending to make multiple changes.
+[build]
+# When compiling from source, you almost always want a full stage 2 build,
+# which has all the latest optimizations from nightly.
+build-stage = 2
+test-stage = 2
+doc-stage = 2
+# When compiling from source, you usually want all tools.
+extended = true
+
+# Most users installing from source want to build all parts of the project from source.
+[llvm]
+download-ci-llvm = false
+[rust]
+# We have several defaults in bootstrap that depend on whether the channel is `dev` (e.g. `omit-git-hash` and `download-ci-llvm`).
+# Make sure they don't get set when installing from source.
+channel = "nightly"
+download-rustc = false
+
+[dist]
+# Use better compression when preparing tarballs.
+compression-profile = "balanced"