| # 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 | |
| # Most users installing from source want to build all parts of the project from source. | |
| [gcc] | |
| download-ci-gcc = 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 = "auto-detect" | |
| # Never download a rustc, distributions must build a fresh compiler. | |
| download-rustc = false | |
| # Build the llvm-bitcode-linker | |
| llvm-bitcode-linker = true | |
| # Required to make builds reproducible. | |
| remap-debuginfo = true | |
| # Compress debuginfo in generated artifacts to reduce their size | |
| compress-debuginfo = "zlib" | |
| [dist] | |
| # Use better compression when preparing tarballs. | |
| compression-profile = "balanced" |