about summary refs log tree commit diff
path: root/src/bootstrap/defaults/bootstrap.dist.toml
diff options
context:
space:
mode:
authorbit-aloo <sshourya17@gmail.com>2025-02-15 19:32:23 +0530
committerbit-aloo <sshourya17@gmail.com>2025-03-17 12:56:41 +0530
commit1954494ec9aa84983f55646fb8f5cac433a3b7bc (patch)
tree6acf815ab744524b7c5651ae149ac5cea338c86b /src/bootstrap/defaults/bootstrap.dist.toml
parent10bcdad7df0de3cfb95c7bdb7b16908e73cafc09 (diff)
downloadrust-1954494ec9aa84983f55646fb8f5cac433a3b7bc.tar.gz
rust-1954494ec9aa84983f55646fb8f5cac433a3b7bc.zip
change config.toml to bootstrap.toml for bootstrap module
Diffstat (limited to 'src/bootstrap/defaults/bootstrap.dist.toml')
-rw-r--r--src/bootstrap/defaults/bootstrap.dist.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/bootstrap/defaults/bootstrap.dist.toml b/src/bootstrap/defaults/bootstrap.dist.toml
new file mode 100644
index 00000000000..7b381b416ca
--- /dev/null
+++ b/src/bootstrap/defaults/bootstrap.dist.toml
@@ -0,0 +1,27 @@
+# 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"
+# Never download a rustc, distributions must build a fresh compiler.
+download-rustc = false
+lld = true
+# Build the llvm-bitcode-linker
+llvm-bitcode-linker = true
+
+[dist]
+# Use better compression when preparing tarballs.
+compression-profile = "balanced"